IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
47c56a9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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": 1003.937792, | |
"max_global_vram": 2524.151808, | |
"max_process_vram": 218169.577472, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 0.9956289539337158, | |
"mean": 0.00809454434092452, | |
"stdev": 0.00038039357435642475, | |
"p50": 0.008016940116882323, | |
"p90": 0.008327114295959472, | |
"p95": 0.00834905128479004, | |
"p99": 0.008808025703430176, | |
"values": [ | |
0.008833897590637208, | |
0.00805117893218994, | |
0.008105098724365234, | |
0.008064458847045899, | |
0.008092618942260743, | |
0.008080939292907714, | |
0.008042698860168456, | |
0.008015178680419921, | |
0.008057100296020508, | |
0.008074060440063476, | |
0.008036619186401367, | |
0.008114699363708497, | |
0.008014219284057617, | |
0.00797309923171997, | |
0.007987500190734863, | |
0.007963978767395019, | |
0.00801837921142578, | |
0.00797454023361206, | |
0.008016779899597168, | |
0.0079945387840271, | |
0.00798397922515869, | |
0.007984139919281007, | |
0.00802781867980957, | |
0.007984939098358155, | |
0.008043338775634765, | |
0.007923180103302003, | |
0.008003819465637206, | |
0.008032938957214356, | |
0.008084778785705566, | |
0.007999659061431885, | |
0.007968780040740966, | |
0.007983338832855225, | |
0.008020138740539551, | |
0.007987659931182861, | |
0.007954218864440917, | |
0.007951498985290528, | |
0.008016940116882323, | |
0.007990859985351562, | |
0.008007179260253907, | |
0.007966858863830566, | |
0.007968779087066651, | |
0.007982860088348389, | |
0.007987178802490235, | |
0.007972619056701661, | |
0.007992939949035644, | |
0.008005578994750977, | |
0.00800973892211914, | |
0.007960780143737793, | |
0.007965099811553956, | |
0.00797533893585205, | |
0.007951179981231689, | |
0.008043499946594238, | |
0.0079878191947937, | |
0.007979339122772216, | |
0.00797949981689453, | |
0.008006379127502442, | |
0.007990539073944092, | |
0.007976139068603515, | |
0.00796093988418579, | |
0.007996939182281494, | |
0.0080162992477417, | |
0.007961259841918946, | |
0.007996298789978028, | |
0.0079945387840271, | |
0.007985420227050781, | |
0.00797342014312744, | |
0.008015178680419921, | |
0.008048298835754395, | |
0.008003339767456055, | |
0.008030699729919434, | |
0.008024938583374023, | |
0.008045259475708008, | |
0.008046539306640624, | |
0.008014219284057617, | |
0.007991340160369873, | |
0.00799165916442871, | |
0.011407649993896485, | |
0.008716298103332519, | |
0.008363178253173828, | |
0.008338377952575684, | |
0.008291338920593262, | |
0.008268299102783204, | |
0.0080729398727417, | |
0.00825325870513916, | |
0.008319659233093262, | |
0.008256617546081544, | |
0.008323658943176269, | |
0.008261418342590332, | |
0.008283819198608398, | |
0.008296777725219726, | |
0.008308778762817383, | |
0.008294218063354493, | |
0.008323658943176269, | |
0.008266858100891113, | |
0.00835533905029297, | |
0.008279019355773926, | |
0.008291659355163574, | |
0.00834925937652588, | |
0.008322538375854492, | |
0.008285738945007325, | |
0.008345738410949707, | |
0.008339018821716308, | |
0.008342859268188476, | |
0.00834717845916748, | |
0.008168298721313477, | |
0.008323657989501953, | |
0.008122379302978516, | |
0.00818605899810791, | |
0.0076486201286315916, | |
0.0073510208129882815, | |
0.007428940773010254, | |
0.008327978134155273, | |
0.008273259162902832, | |
0.00829053783416748, | |
0.008309259414672851, | |
0.008318058013916016, | |
0.007868619918823242, | |
0.007401580810546875, | |
0.007404301166534424, | |
0.007385420799255371, | |
0.008656137466430664, | |
0.007503339767456055, | |
0.00749678087234497 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.53999902677472 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |