IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6e92fc2
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": "d0c0a5c5918412583a4f2490ab7e3d1b48375998", | |
"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.573056, | |
"max_global_vram": 2114.617344, | |
"max_process_vram": 47831.16288, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.55905078125, | |
"mean": 7.55905078125, | |
"stdev": 0.0, | |
"p50": 7.55905078125, | |
"p90": 7.55905078125, | |
"p95": 7.55905078125, | |
"p99": 7.55905078125, | |
"values": [ | |
7.55905078125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.869312, | |
"max_global_vram": 2225.979392, | |
"max_process_vram": 271871.991808, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 1.001590726852417, | |
"mean": 0.007824927553534509, | |
"stdev": 0.0003173343213497664, | |
"p50": 0.00797628903388977, | |
"p90": 0.008065297985076905, | |
"p95": 0.00822842411994934, | |
"p99": 0.008583726892471314, | |
"values": [ | |
0.008354047775268554, | |
0.008449407577514648, | |
0.008259808540344239, | |
0.008697086334228516, | |
0.00863340663909912, | |
0.00833180809020996, | |
0.008236767768859864, | |
0.007763969898223877, | |
0.007975328922271728, | |
0.007894370079040527, | |
0.00784956979751587, | |
0.007774849891662597, | |
0.0076698899269104, | |
0.007795330047607422, | |
0.0077201309204101565, | |
0.00749373197555542, | |
0.0075372509956359865, | |
0.007575490951538086, | |
0.007436131000518799, | |
0.007233252048492431, | |
0.007248611927032471, | |
0.007290212154388428, | |
0.0075801310539245605, | |
0.008071808815002442, | |
0.008058528900146484, | |
0.008212928771972655, | |
0.00807116985321045, | |
0.008064290046691895, | |
0.008058369636535645, | |
0.008080768585205077, | |
0.008045089721679688, | |
0.007943649768829346, | |
0.007991329193115234, | |
0.007982049942016602, | |
0.00797740888595581, | |
0.00798508882522583, | |
0.007968770027160645, | |
0.00795693016052246, | |
0.007979488849639893, | |
0.0080006103515625, | |
0.007947329998016357, | |
0.007984769821166993, | |
0.008006049156188964, | |
0.00798668909072876, | |
0.007973249912261962, | |
0.008037249565124511, | |
0.008013729095458985, | |
0.008001408576965331, | |
0.00799980878829956, | |
0.008004610061645507, | |
0.008014849662780762, | |
0.008013249397277832, | |
0.007994688987731934, | |
0.00801900863647461, | |
0.008013409614562988, | |
0.008067649841308594, | |
0.008029410362243652, | |
0.008018689155578613, | |
0.007989249229431152, | |
0.00802924919128418, | |
0.008018528938293457, | |
0.007971970081329346, | |
0.008017568588256837, | |
0.008028128623962402, | |
0.00799004888534546, | |
0.008018850326538086, | |
0.008023810386657716, | |
0.00804828929901123, | |
0.008026529312133789, | |
0.007953089237213135, | |
0.007529090881347656, | |
0.0076938910484313965, | |
0.007168131828308106, | |
0.007488931179046631, | |
0.007145732879638672, | |
0.007153731822967529, | |
0.007100613117218018, | |
0.007193572998046875, | |
0.007860610008239746, | |
0.007520930767059326, | |
0.007699010848999023, | |
0.007621729850769043, | |
0.0076370911598205565, | |
0.007632290840148926, | |
0.007207012176513672, | |
0.007335812091827393, | |
0.00740493106842041, | |
0.007445732116699219, | |
0.008100448608398437, | |
0.007989250183105468, | |
0.007991329193115234, | |
0.007984609127044677, | |
0.007974850177764893, | |
0.007977249145507813, | |
0.008022849082946776, | |
0.007990210056304932, | |
0.00801980972290039, | |
0.00800252914428711, | |
0.00799100923538208, | |
0.008029728889465333, | |
0.008015008926391601, | |
0.00803884983062744, | |
0.008005729675292969, | |
0.008023168563842773, | |
0.007949729919433594, | |
0.007995809078216553, | |
0.007987329006195068, | |
0.00777117109298706, | |
0.007722850799560547, | |
0.007651490211486816, | |
0.007561251163482666, | |
0.007652610778808594, | |
0.007687009811401367, | |
0.007317892074584961, | |
0.00773405122756958, | |
0.007390692234039307, | |
0.007392931938171387, | |
0.007234692096710205, | |
0.007105893135070801, | |
0.007612930774688721, | |
0.007730210781097412, | |
0.007678050994873047, | |
0.0077031698226928715, | |
0.007520932197570801, | |
0.007643970966339111, | |
0.007474211215972901, | |
0.00713981294631958, | |
0.007446529865264892 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.79671034120966 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |