IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f594cd9
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": "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": {}, | |
"hub_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, | |
"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", | |
"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.2.1", | |
"optimum_benchmark_commit": "f85421c91b2a2b1bc0a30ceba32f9580499bf023", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.058304, | |
"max_global_vram": 541.278208, | |
"max_process_vram": 89420.791808, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 166, | |
"total": 0.994657793521881, | |
"mean": 0.005991914418806512, | |
"stdev": 0.000621883670839411, | |
"p50": 0.005779109954833985, | |
"p90": 0.006193748950958252, | |
"p95": 0.006490988731384277, | |
"p99": 0.010105598497390747, | |
"values": [ | |
0.010644620895385742, | |
0.01010830307006836, | |
0.010104142189025878, | |
0.0066729488372802735, | |
0.005835350036621094, | |
0.005803030014038086, | |
0.005750710010528564, | |
0.005764150142669678, | |
0.005776949882507324, | |
0.005773109912872314, | |
0.005779029846191407, | |
0.005751029968261719, | |
0.005752950191497803, | |
0.005763989925384521, | |
0.005774710178375244, | |
0.005763189792633057, | |
0.005773749828338623, | |
0.005789268970489502, | |
0.005770870208740234, | |
0.005778069972991943, | |
0.005792310237884521, | |
0.005789269924163818, | |
0.0058678297996520995, | |
0.006045749187469482, | |
0.00598015022277832, | |
0.006083189010620117, | |
0.006041269779205322, | |
0.006192469120025635, | |
0.006045108795166016, | |
0.006183828830718994, | |
0.0060459098815917964, | |
0.006139509201049805, | |
0.006185749053955078, | |
0.00610575008392334, | |
0.006131989002227783, | |
0.006152469158172608, | |
0.006103829860687256, | |
0.006051188945770264, | |
0.006299668788909912, | |
0.006195028781890869, | |
0.006394548892974854, | |
0.006483508110046387, | |
0.006007510185241699, | |
0.006165109157562256, | |
0.006088950157165527, | |
0.006147190093994141, | |
0.006008308887481689, | |
0.006219509124755859, | |
0.00598622989654541, | |
0.0061255888938903805, | |
0.006156310081481934, | |
0.006050549983978272, | |
0.006139829158782959, | |
0.005933110237121582, | |
0.006092148780822754, | |
0.00587375020980835, | |
0.006181748867034912, | |
0.005931190013885498, | |
0.006054388999938965, | |
0.00595182991027832, | |
0.006004148960113525, | |
0.005974070072174072, | |
0.0059547100067138675, | |
0.0057726287841796875, | |
0.005765429973602295, | |
0.005778389930725098, | |
0.0057895898818969725, | |
0.005948309898376465, | |
0.005984309196472168, | |
0.005950870037078858, | |
0.005764790058135986, | |
0.005769589900970459, | |
0.005777910232543946, | |
0.005778069972991943, | |
0.0057676701545715334, | |
0.00576239013671875, | |
0.005731350898742675, | |
0.00572559118270874, | |
0.0057774300575256345, | |
0.005794390201568604, | |
0.005759349822998047, | |
0.005772150039672851, | |
0.005776150226593018, | |
0.00577711009979248, | |
0.0057705497741699216, | |
0.005749269962310791, | |
0.005768630027770996, | |
0.005738709926605225, | |
0.005770390033721924, | |
0.00575806999206543, | |
0.005776470184326172, | |
0.005769430160522461, | |
0.005752950191497803, | |
0.005726550102233887, | |
0.005751510143280029, | |
0.00576462984085083, | |
0.0057652702331542965, | |
0.005788310050964356, | |
0.005769909858703614, | |
0.005778709888458252, | |
0.005749110221862793, | |
0.0065591888427734375, | |
0.006479828834533691, | |
0.006536788940429687, | |
0.006485107898712158, | |
0.00649294900894165, | |
0.006504788875579834, | |
0.006575987815856933, | |
0.006130389213562012, | |
0.006044149875640869, | |
0.006079349040985107, | |
0.006112470149993897, | |
0.0060113492012023925, | |
0.006134549140930176, | |
0.006013589859008789, | |
0.006130228996276856, | |
0.005971030235290527, | |
0.006159668922424317, | |
0.005920470237731934, | |
0.006223029136657715, | |
0.005776470184326172, | |
0.005787030220031738, | |
0.005756629943847656, | |
0.005770709991455078, | |
0.005770229816436768, | |
0.005754869937896728, | |
0.005773590087890625, | |
0.005779190063476563, | |
0.0057345499992370605, | |
0.005752470016479492, | |
0.005734869956970215, | |
0.005747029781341553, | |
0.0058084697723388675, | |
0.005815509796142578, | |
0.005795509815216065, | |
0.005796628952026367, | |
0.005770709991455078, | |
0.005759990215301514, | |
0.005763830184936524, | |
0.005755829811096192, | |
0.0057614297866821285, | |
0.005756629943847656, | |
0.005756470203399658, | |
0.005771029949188233, | |
0.005775189876556396, | |
0.005767189979553223, | |
0.005757909774780273, | |
0.0057676701545715334, | |
0.005723989963531494, | |
0.005714550018310547, | |
0.005753910064697266, | |
0.005756790161132812, | |
0.005768630027770996, | |
0.005759190082550049, | |
0.005779829978942871, | |
0.005763830184936524, | |
0.005779990196228027, | |
0.0057465500831604, | |
0.005762869834899902, | |
0.005749110221862793, | |
0.005764309883117676, | |
0.005754869937896728, | |
0.005764790058135986, | |
0.005756148815155029, | |
0.005754869937896728, | |
0.00576239013671875 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 166.8915692222425 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |