IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0df28c2 verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "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": "warn",
"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.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1042.898944,
"max_global_vram": 68702.69952,
"max_process_vram": 47311.425536,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.1272890625,
"mean": 8.1272890625,
"stdev": 0.0,
"p50": 8.1272890625,
"p90": 8.1272890625,
"p95": 8.1272890625,
"p99": 8.1272890625,
"values": [
8.1272890625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.368128,
"max_global_vram": 68702.69952,
"max_process_vram": 242295.283712,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 125,
"total": 0.9999058513641358,
"mean": 0.007999246810913086,
"stdev": 0.004200741685445301,
"p50": 0.00787277317047119,
"p90": 0.008233635139465333,
"p95": 0.008976192855834961,
"p99": 0.026590379562378037,
"values": [
0.008843008995056151,
0.008920289993286134,
0.009026688575744629,
0.009074209213256836,
0.008979168891906739,
0.008964288711547851,
0.009096928596496582,
0.00873548984527588,
0.00865565013885498,
0.031488052368164064,
0.002487191915512085,
0.0024691109657287596,
0.004666384220123291,
0.008293730735778809,
0.008143491744995117,
0.011081082344055176,
0.007774212837219238,
0.0075887742042541504,
0.007591494083404541,
0.007820292949676514,
0.007962052822113036,
0.007718052864074707,
0.007906373023986817,
0.008040772438049317,
0.007658214092254639,
0.007562694072723389,
0.00762541389465332,
0.007758533954620362,
0.007729093074798584,
0.007545574188232422,
0.007648293972015381,
0.007802052974700928,
0.0076791739463806154,
0.0074753351211547855,
0.007713412761688233,
0.007678214073181152,
0.007700772762298584,
0.0075409340858459475,
0.007701734066009522,
0.007686373233795166,
0.007877892971038818,
0.007612452983856201,
0.007846532821655273,
0.007629893779754639,
0.007510694026947021,
0.007463174819946289,
0.007499334812164307,
0.007454693794250488,
0.007495654106140137,
0.007328774929046631,
0.007534694194793701,
0.007204774856567383,
0.007334054946899414,
0.007266375064849853,
0.007225415229797363,
0.007173894882202148,
0.007237575054168701,
0.007211336135864258,
0.007520934104919433,
0.007954051971435547,
0.007951013088226318,
0.007951653003692627,
0.008022532463073731,
0.007963172912597656,
0.007969573020935058,
0.007971013069152832,
0.007970531940460206,
0.007941573143005372,
0.007973092079162598,
0.007957733154296875,
0.007938212871551513,
0.007953251838684082,
0.0079564528465271,
0.007940292835235596,
0.00793693208694458,
0.007937092781066895,
0.007919172763824462,
0.007927492141723632,
0.00797613286972046,
0.007650053977966308,
0.007431654930114746,
0.007606694221496582,
0.007563814163208008,
0.007771812915802002,
0.007639974117279053,
0.00787277317047119,
0.007581093788146973,
0.007507015228271485,
0.007493093967437744,
0.007948613166809082,
0.007963653087615968,
0.007958532810211182,
0.007945251941680909,
0.04497840881347656,
0.0024702320098876954,
0.0024502320289611816,
0.0024513518810272217,
0.002464310884475708,
0.002443351984024048,
0.0024588708877563478,
0.006883976936340332,
0.008063812255859375,
0.007969411849975586,
0.007606373786926269,
0.007581093788146973,
0.007571653842926025,
0.007699812889099121,
0.00803437328338623,
0.008029253005981445,
0.008060452461242675,
0.00802029323577881,
0.008025253295898437,
0.008061092376708984,
0.008026851654052734,
0.007973573207855224,
0.007946053028106689,
0.008012131690979004,
0.008058371543884278,
0.008007493019104004,
0.00800861167907715,
0.008032133102416992,
0.00807581329345703,
0.0080940523147583,
0.008020931243896485,
0.008020453453063965
]
},
"throughput": {
"unit": "samples/s",
"value": 125.01176968758305
},
"energy": null,
"efficiency": null
}
}
}