IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3c7632a
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_type": "roberta", | |
"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", | |
"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": "10c9775dced65978a85f54ff6905a3aea7d61cca", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": 1009.319936, | |
"max_global_vram": 898.445312, | |
"max_process_vram": 212080.2304, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9997739744186404, | |
"mean": 0.0072976202512309496, | |
"stdev": 0.0002338643188608137, | |
"p50": 0.007254055023193359, | |
"p90": 0.007575782012939454, | |
"p95": 0.0077710128784179685, | |
"p99": 0.008112278747558592, | |
"values": [ | |
0.00747837495803833, | |
0.007105735778808594, | |
0.007141574859619141, | |
0.007333893775939942, | |
0.007627334117889404, | |
0.007456614017486572, | |
0.00741197395324707, | |
0.007392134189605713, | |
0.007381254196166992, | |
0.007275175094604492, | |
0.007182054996490479, | |
0.007135974884033203, | |
0.007142055034637451, | |
0.007099976062774658, | |
0.007080776214599609, | |
0.00706733512878418, | |
0.007029736042022705, | |
0.007001255035400391, | |
0.007017576217651368, | |
0.006994855880737305, | |
0.007038856029510498, | |
0.006994696140289307, | |
0.007037255764007568, | |
0.007015495777130127, | |
0.007024455070495606, | |
0.006994215965270996, | |
0.007002214908599854, | |
0.007051976203918457, | |
0.007122214794158936, | |
0.007069415092468262, | |
0.007159975051879883, | |
0.00850157070159912, | |
0.007307653903961182, | |
0.007163495063781738, | |
0.007145415782928466, | |
0.007165095806121826, | |
0.007179175853729248, | |
0.00716429615020752, | |
0.007151495933532715, | |
0.007136775016784668, | |
0.007142055034637451, | |
0.007165256023406982, | |
0.007139175891876221, | |
0.007180294990539551, | |
0.007521092891693115, | |
0.0071492562294006344, | |
0.0071934151649475095, | |
0.007157415866851807, | |
0.007360135078430176, | |
0.007327653884887695, | |
0.007254055023193359, | |
0.007337413787841797, | |
0.007391654968261719, | |
0.007370053768157959, | |
0.007210215091705322, | |
0.007204935073852539, | |
0.007239974975585937, | |
0.007227175235748291, | |
0.007210054874420166, | |
0.0072153348922729494, | |
0.007218854904174805, | |
0.007370533943176269, | |
0.007460293769836426, | |
0.007238854885101318, | |
0.00720765495300293, | |
0.0073660540580749514, | |
0.007277735233306885, | |
0.00725293493270874, | |
0.007234054088592529, | |
0.007227175235748291, | |
0.0072434949874877926, | |
0.007237575054168701, | |
0.0073134140968322756, | |
0.007294855117797852, | |
0.007269895076751709, | |
0.007275975227355957, | |
0.0072129349708557125, | |
0.007209895133972168, | |
0.0072690949440002445, | |
0.007236614227294922, | |
0.007258534908294678, | |
0.007273415088653565, | |
0.0072606148719787595, | |
0.0072716550827026365, | |
0.007211335182189941, | |
0.00725341510772705, | |
0.007249575138092041, | |
0.007235815048217773, | |
0.007259815216064453, | |
0.007282694816589355, | |
0.007246533870697022, | |
0.0072625350952148435, | |
0.007222054958343506, | |
0.007213415145874024, | |
0.0072660551071167, | |
0.007261254787445068, | |
0.007274374961853027, | |
0.007249895095825195, | |
0.007267173767089844, | |
0.0072318148612976075, | |
0.007283174991607666, | |
0.007260613918304444, | |
0.00725069522857666, | |
0.007425094127655029, | |
0.00808637237548828, | |
0.008126851081848144, | |
0.008079172134399414, | |
0.007546214103698731, | |
0.0074657340049743654, | |
0.007459333896636963, | |
0.007801093101501465, | |
0.007923171997070313, | |
0.007669252872467041, | |
0.007766532897949219, | |
0.007620133876800537, | |
0.007788932800292968, | |
0.007706532955169678, | |
0.00775773286819458, | |
0.007732293128967285, | |
0.007298533916473389, | |
0.007287815093994141, | |
0.007268135070800781, | |
0.007232454776763916, | |
0.00728077507019043, | |
0.007305415153503418, | |
0.007258213996887207, | |
0.007263814926147461, | |
0.00727309513092041, | |
0.007204134941101074, | |
0.0072172551155090334, | |
0.007270215034484863, | |
0.007223175048828125, | |
0.007277414798736572, | |
0.00727005386352539, | |
0.007275014877319336, | |
0.007260933876037597, | |
0.007310694217681885 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.0309725052248 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |