IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3d4e0f8
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.3.1", | |
"optimum_benchmark_commit": "79990507b694d513bac81e140baff3af23a6bff7", | |
"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": 1825.345536, | |
"max_global_vram": 65067.163648, | |
"max_process_vram": 87890.7392, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 163, | |
"total": 0.9968164987564089, | |
"mean": 0.006115438642677354, | |
"stdev": 0.0004274226536745979, | |
"p50": 0.0060616030693054195, | |
"p90": 0.00654816370010376, | |
"p95": 0.006612067890167236, | |
"p99": 0.007124599199295043, | |
"values": [ | |
0.007248003959655761, | |
0.0070096030235290525, | |
0.007048964023590088, | |
0.006549122810363769, | |
0.005929122924804688, | |
0.006564962863922119, | |
0.006765443801879883, | |
0.006698722839355469, | |
0.006612483978271484, | |
0.006623202800750732, | |
0.006608323097229004, | |
0.0065398430824279786, | |
0.006655683994293213, | |
0.006584803104400635, | |
0.00610688304901123, | |
0.006307363033294678, | |
0.006158082962036133, | |
0.0061830439567565915, | |
0.0060096030235290525, | |
0.006169922828674316, | |
0.00599232292175293, | |
0.006213922977447509, | |
0.00615552282333374, | |
0.006168642997741699, | |
0.006093442916870117, | |
0.006082242965698243, | |
0.0064382429122924805, | |
0.006604963779449463, | |
0.0065905628204345704, | |
0.006523043155670166, | |
0.006040963172912597, | |
0.006548483848571777, | |
0.006546883106231689, | |
0.006149763107299804, | |
0.00610032320022583, | |
0.006285923004150391, | |
0.006505924224853516, | |
0.006237442970275879, | |
0.006225762844085693, | |
0.009498405456542968, | |
0.006572322845458984, | |
0.00650480318069458, | |
0.006086243152618408, | |
0.005970882892608643, | |
0.005753602981567383, | |
0.005740323066711426, | |
0.005757603168487549, | |
0.006179362773895264, | |
0.005767522811889648, | |
0.006386723041534424, | |
0.006154403209686279, | |
0.006463044166564942, | |
0.0062481632232666015, | |
0.006442722797393799, | |
0.006483842849731445, | |
0.006477603912353516, | |
0.006429762840270996, | |
0.006475203037261963, | |
0.006284002780914307, | |
0.006480963230133057, | |
0.006493443965911865, | |
0.006448163032531738, | |
0.006457443237304687, | |
0.006476162910461426, | |
0.006476162910461426, | |
0.0065068831443786624, | |
0.006192802906036377, | |
0.006135683059692382, | |
0.006266242980957031, | |
0.006261764049530029, | |
0.006173762798309326, | |
0.006226082801818847, | |
0.006113762855529785, | |
0.0062035231590270995, | |
0.006084322929382324, | |
0.006096642971038818, | |
0.006042723178863525, | |
0.0060616030693054195, | |
0.0057979230880737306, | |
0.005768962860107422, | |
0.005823682785034179, | |
0.005806242942810059, | |
0.00577120304107666, | |
0.005768163204193115, | |
0.005785603046417237, | |
0.005772003173828125, | |
0.005768482208251953, | |
0.00577120304107666, | |
0.00574880313873291, | |
0.005750402927398681, | |
0.0060542430877685545, | |
0.005764323234558106, | |
0.005725923061370849, | |
0.005730722904205322, | |
0.005765122890472412, | |
0.005777603149414063, | |
0.005787683010101318, | |
0.005756001949310302, | |
0.005760162830352783, | |
0.005759842872619629, | |
0.005936482906341553, | |
0.005768002986907959, | |
0.005752482891082764, | |
0.005755043029785157, | |
0.005716483116149903, | |
0.005753122806549073, | |
0.005968963146209717, | |
0.005917922973632812, | |
0.006410562992095947, | |
0.006446083068847656, | |
0.006513123035430908, | |
0.006472164154052734, | |
0.006503842830657959, | |
0.006505602836608886, | |
0.006470563888549804, | |
0.0061324830055236815, | |
0.005950723171234131, | |
0.006166882991790771, | |
0.005939043045043945, | |
0.006226562976837159, | |
0.005953123092651367, | |
0.006231362819671631, | |
0.0060780830383300784, | |
0.006059523105621338, | |
0.006073442935943604, | |
0.006038883209228516, | |
0.006082882881164551, | |
0.0060376029014587405, | |
0.00574448299407959, | |
0.005720162868499756, | |
0.005731362819671631, | |
0.0057820830345153805, | |
0.005973282814025879, | |
0.00575104284286499, | |
0.0057649631500244145, | |
0.005760962963104248, | |
0.005767521858215332, | |
0.0057606430053710935, | |
0.005763362884521484, | |
0.005751842975616455, | |
0.005741443157196045, | |
0.005789443016052246, | |
0.005763362884521484, | |
0.005765923023223877, | |
0.005768163204193115, | |
0.005765762805938721, | |
0.005767362117767334, | |
0.005754723072052002, | |
0.005733922958374023, | |
0.005711682796478271, | |
0.0057606430053710935, | |
0.005784802913665772, | |
0.005783523082733154, | |
0.0057630429267883304, | |
0.005985443115234375, | |
0.0057532830238342285, | |
0.0057600030899047855, | |
0.0057699217796325685, | |
0.005776963233947754, | |
0.005764641761779785, | |
0.005752482891082764, | |
0.0057465629577636715, | |
0.005754083156585693 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.52056793136225 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |