IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6a310dc verified
raw
history blame
10.4 kB
{
"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",
"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.0",
"optimum_benchmark_commit": "57f6495c03ea0fa48e157048c97add150dcd765c",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": 1005.883392,
"max_global_vram": 898.473984,
"max_process_vram": 175601.803264,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9973448486328123,
"mean": 0.007333418004653033,
"stdev": 0.0002452375024910205,
"p50": 0.0072775003910064695,
"p90": 0.007556140184402466,
"p95": 0.007932978630065918,
"p99": 0.008247482204437256,
"values": [
0.007991658210754395,
0.007382541179656982,
0.007444620132446289,
0.007689579010009766,
0.007338059902191162,
0.007279500961303711,
0.00726669979095459,
0.007239020824432373,
0.007247660160064697,
0.007199660778045654,
0.007185900211334228,
0.007147181034088135,
0.0071585412025451664,
0.007118220806121826,
0.0071681408882141116,
0.0071425409317016604,
0.007184940814971924,
0.007171501159667968,
0.0071511797904968265,
0.007159501075744629,
0.007126380920410156,
0.007233420848846436,
0.0071494197845458985,
0.0071358208656311034,
0.00718350076675415,
0.007194221019744873,
0.007153100967407226,
0.007169421195983887,
0.007136940956115723,
0.0071663808822631835,
0.007172461032867432,
0.0071308608055114745,
0.0071425409317016604,
0.007142701148986816,
0.007135980129241944,
0.007131980895996094,
0.007259500980377197,
0.007183020114898682,
0.007249900817871094,
0.007343820095062256,
0.007303979873657227,
0.007249101161956787,
0.007249101161956787,
0.008466217041015625,
0.0073807802200317385,
0.007267021179199219,
0.0072534198760986325,
0.0072252612113952635,
0.007251339912414551,
0.00721566104888916,
0.007277740001678467,
0.007232301235198975,
0.007254860877990723,
0.007266221046447754,
0.007273260116577148,
0.0072441411018371584,
0.007243020057678223,
0.007234220981597901,
0.007507500171661377,
0.007261899948120118,
0.007274381160736084,
0.007227340221405029,
0.007277901172637939,
0.007247340202331543,
0.007251020908355713,
0.007346380233764649,
0.007283979892730713,
0.007475019931793213,
0.007271181106567383,
0.0072678208351135256,
0.007290219783782959,
0.007248140811920166,
0.0072649397850036625,
0.007254061222076416,
0.0072670202255249025,
0.007279500961303711,
0.0072319798469543456,
0.007229741096496582,
0.007288619995117187,
0.007283181190490723,
0.0072913398742675785,
0.007268300056457519,
0.007295501232147217,
0.007283339977264405,
0.007267180919647217,
0.007245259761810303,
0.007284141063690185,
0.007304780960083008,
0.007285099983215332,
0.007305740833282471,
0.007313260078430176,
0.007315499782562256,
0.007348461151123047,
0.008228137969970703,
0.008257898330688476,
0.007913418769836426,
0.008070697784423828,
0.008225737571716308,
0.008199817657470703,
0.007908298969268798,
0.0077406191825866695,
0.007847339153289794,
0.007714539051055908,
0.007604780197143554,
0.0072251009941101075,
0.007286059856414795,
0.007297101020812988,
0.007288461208343506,
0.007288459777832031,
0.00728334093093872,
0.00732013988494873,
0.007303659915924072,
0.007271501064300537,
0.007290540218353271,
0.0073009409904479985,
0.007292780876159668,
0.007309579849243164,
0.0072844610214233396,
0.007316619873046875,
0.007289420127868653,
0.007294061183929443,
0.007288780212402344,
0.007314539909362793,
0.007316141128540039,
0.007300300121307373,
0.007292140007019043,
0.007285261154174804,
0.007308300018310547,
0.007240780830383301,
0.007253260135650635,
0.007298861026763916,
0.007277260780334473,
0.00732174015045166,
0.00731118106842041,
0.007331820011138916,
0.007318220138549805
]
},
"throughput": {
"unit": "samples/s",
"value": 136.36206191512647
},
"energy": null,
"efficiency": null
}
}
}