IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5b56285
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "5", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_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, | |
"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.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1389.07648, | |
"max_global_vram": 11.247616, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.76156982421875, | |
"mean": 7.76156982421875, | |
"stdev": 0.0, | |
"p50": 7.76156982421875, | |
"p90": 7.76156982421875, | |
"p95": 7.76156982421875, | |
"p99": 7.76156982421875, | |
"values": [ | |
7.76156982421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1514.479616, | |
"max_global_vram": 11.300864, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 0.9962058074474334, | |
"mean": 0.008165621372519947, | |
"stdev": 0.0012362802294811678, | |
"p50": 0.008042850494384766, | |
"p90": 0.008504481124877929, | |
"p95": 0.008635712385177612, | |
"p99": 0.00927870672225952, | |
"values": [ | |
0.008615649223327637, | |
0.008395489692687988, | |
0.008390369415283204, | |
0.008412448883056641, | |
0.008082690238952637, | |
0.008065251350402832, | |
0.008061570167541504, | |
0.008023011207580566, | |
0.008043490409851074, | |
0.008051651000976563, | |
0.008024930000305176, | |
0.008010850906372071, | |
0.008007810592651368, | |
0.008009571075439453, | |
0.008003810882568359, | |
0.008026209831237793, | |
0.008223649978637695, | |
0.008002850532531738, | |
0.00804284954071045, | |
0.008036931037902833, | |
0.00805405044555664, | |
0.008037570953369141, | |
0.00810157012939453, | |
0.00802285099029541, | |
0.008046690940856933, | |
0.008036770820617677, | |
0.008031331062316894, | |
0.008065410614013672, | |
0.008055971145629883, | |
0.0080222110748291, | |
0.0080474910736084, | |
0.008045089721679688, | |
0.008008931159973144, | |
0.008004131317138672, | |
0.008023650169372558, | |
0.008102371215820312, | |
0.008016290664672852, | |
0.008058691024780273, | |
0.008017411231994629, | |
0.008049891471862794, | |
0.008042370796203614, | |
0.008070369720458985, | |
0.00804141139984131, | |
0.008074529647827148, | |
0.008068930625915528, | |
0.008051969528198243, | |
0.008049731254577636, | |
0.00801165008544922, | |
0.008041730880737305, | |
0.008192290306091308, | |
0.008025569915771484, | |
0.008024611473083497, | |
0.008004130363464356, | |
0.008021410942077636, | |
0.007995010852813721, | |
0.00801980972290039, | |
0.007942211151123047, | |
0.008109729766845703, | |
0.007911651134490967, | |
0.00846044921875, | |
0.008397089958190917, | |
0.00839309024810791, | |
0.00808141040802002, | |
0.00800653076171875, | |
0.008027810096740723, | |
0.008066850662231445, | |
0.008055331230163575, | |
0.008064129829406737, | |
0.019301849365234373, | |
0.0025417509078979493, | |
0.003428147077560425, | |
0.008041729927062988, | |
0.008042210578918458, | |
0.008014370918273925, | |
0.008033571243286132, | |
0.008012290954589843, | |
0.008019009590148925, | |
0.007991971015930176, | |
0.007999011039733887, | |
0.008046530723571777, | |
0.008039971351623536, | |
0.008042851448059081, | |
0.008054370880126954, | |
0.00806333065032959, | |
0.008008451461791992, | |
0.008017730712890626, | |
0.008009890556335449, | |
0.00801548957824707, | |
0.008000770568847656, | |
0.008029730796813964, | |
0.008006051063537597, | |
0.008036770820617677, | |
0.007991331100463867, | |
0.00798141098022461, | |
0.008216130256652831, | |
0.008509248733520507, | |
0.008441889762878418, | |
0.008475170135498047, | |
0.008466368675231933, | |
0.008503329277038575, | |
0.00804141139984131, | |
0.008024450302124023, | |
0.009330685615539552, | |
0.008090049743652343, | |
0.008010531425476074, | |
0.008025250434875487, | |
0.008060450553894044, | |
0.00908204746246338, | |
0.009034847259521485, | |
0.009017566680908203, | |
0.00908316707611084, | |
0.008636768341064454, | |
0.00850460910797119, | |
0.00855820941925049, | |
0.00845884895324707, | |
0.00849772834777832, | |
0.008487488746643066, | |
0.008582689285278321, | |
0.00854956817626953, | |
0.008061731338500976, | |
0.008013089179992676, | |
0.008040611267089843 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.46465447998057 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |