IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
089006b
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"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": true, | |
"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", | |
"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.0", | |
"optimum_benchmark_commit": "519f5ad32b6cd1fea2bd501503e24d19a1e23c22", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1008.939008, | |
"max_global_vram": 2522.841088, | |
"max_process_vram": 228416.258048, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 1.0007468638420107, | |
"mean": 0.008005974910736085, | |
"stdev": 0.000399916502688993, | |
"p50": 0.007859181880950928, | |
"p90": 0.008531468200683595, | |
"p95": 0.008612684440612793, | |
"p99": 0.009603883018493653, | |
"values": [ | |
0.007889421939849853, | |
0.008001102447509765, | |
0.008170061111450196, | |
0.00853774070739746, | |
0.008614700317382812, | |
0.008547981262207032, | |
0.008542059898376465, | |
0.008534860610961915, | |
0.00857374095916748, | |
0.008317900657653808, | |
0.008277741432189942, | |
0.008170541763305663, | |
0.008153902053833009, | |
0.008114702224731445, | |
0.008046701431274414, | |
0.007868782997131347, | |
0.007795661926269531, | |
0.00776734209060669, | |
0.007797102928161621, | |
0.007974222183227539, | |
0.00804094123840332, | |
0.008040461540222168, | |
0.007956942081451417, | |
0.007961902141571045, | |
0.007924302101135254, | |
0.008131341934204101, | |
0.008526379585266114, | |
0.008604620933532715, | |
0.00851006031036377, | |
0.00967069911956787, | |
0.008749900817871093, | |
0.008204940795898438, | |
0.007946221828460694, | |
0.007849102020263671, | |
0.007853423118591309, | |
0.007850702762603759, | |
0.007835182189941406, | |
0.007799662113189697, | |
0.007787502765655517, | |
0.007793581962585449, | |
0.007781261920928955, | |
0.007763503074645996, | |
0.007845582962036133, | |
0.007767501831054687, | |
0.007817262172698975, | |
0.008623661041259766, | |
0.007914381980895996, | |
0.007747982025146484, | |
0.00781630277633667, | |
0.00783822202682495, | |
0.007842542171478272, | |
0.007886062145233155, | |
0.007862382888793946, | |
0.00784030294418335, | |
0.00785134220123291, | |
0.007828621864318848, | |
0.00780974292755127, | |
0.007851663112640381, | |
0.007842542171478272, | |
0.007863982200622559, | |
0.007843982219696045, | |
0.007899342060089111, | |
0.007864142894744873, | |
0.007883662223815919, | |
0.007806702136993408, | |
0.007805262088775635, | |
0.007846063137054443, | |
0.008780940055847168, | |
0.00785790205001831, | |
0.007838702201843262, | |
0.007859181880950928, | |
0.00788670301437378, | |
0.007883022785186768, | |
0.007848941802978515, | |
0.007809902191162109, | |
0.007853422164916992, | |
0.007864462852478027, | |
0.007839023113250732, | |
0.007857741832733155, | |
0.007788462162017822, | |
0.007895823001861573, | |
0.00784350299835205, | |
0.007850542068481445, | |
0.007860941886901856, | |
0.007854221820831299, | |
0.007796782970428467, | |
0.007828941822052002, | |
0.007821422100067138, | |
0.007844781875610352, | |
0.007820302963256837, | |
0.007835981845855712, | |
0.007835502147674561, | |
0.007860621929168702, | |
0.007817263126373292, | |
0.007866062164306641, | |
0.007836462020874024, | |
0.007842862129211425, | |
0.007844462871551513, | |
0.007871502876281739, | |
0.00781534194946289, | |
0.007842862129211425, | |
0.007856942176818848, | |
0.007843983173370362, | |
0.007862862110137939, | |
0.0078113431930541995, | |
0.007892141819000244, | |
0.007884302139282227, | |
0.009392298698425294, | |
0.008292620658874511, | |
0.010851975440979003, | |
0.008164141654968262, | |
0.007853422164916992, | |
0.007854062080383301, | |
0.007792462825775146, | |
0.007847822189331055, | |
0.00788030195236206, | |
0.007861581802368164, | |
0.007910702228546142, | |
0.007918702125549317, | |
0.007863022804260255, | |
0.007855502128601075, | |
0.007899662017822266, | |
0.007852622032165527, | |
0.007864622116088868, | |
0.00790702199935913 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.90671169341175 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |