IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a2955cc verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_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": {},
"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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 764.534784,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.39397216796875,
"mean": 7.39397216796875,
"stdev": 0.0,
"p50": 7.39397216796875,
"p90": 7.39397216796875,
"p95": 7.39397216796875,
"p99": 7.39397216796875,
"values": [
7.39397216796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.011303215280642e-07,
"ram": 4.781624812318052e-07,
"gpu": 0.0,
"total": 1.3792928027598695e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 964.984832,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 137,
"total": 1.0001131501197813,
"mean": 0.007300095986275779,
"stdev": 0.00033015914202765733,
"p50": 0.007285759925842285,
"p90": 0.007758182334899902,
"p95": 0.007819519996643065,
"p99": 0.008093245353698729,
"values": [
0.007982175827026367,
0.008268799781799317,
0.00795136022567749,
0.00799232006072998,
0.007832575798034667,
0.007816192150115966,
0.007970816135406494,
0.0077578239440917966,
0.007745535850524903,
0.007796735763549805,
0.007688000202178955,
0.007655392169952393,
0.007605247974395752,
0.007678976058959961,
0.007700479984283447,
0.0076943039894104,
0.008150015830993652,
0.007771135807037354,
0.007724031925201416,
0.007734272003173828,
0.007766016006469726,
0.007816256046295166,
0.0077281279563903805,
0.007709695816040039,
0.00773641586303711,
0.007711743831634522,
0.0076278080940246585,
0.007758719921112061,
0.007640063762664795,
0.00775270414352417,
0.007322624206542969,
0.007342080116271973,
0.007654399871826172,
0.007639039993286132,
0.007789567947387695,
0.007344128131866455,
0.007221248149871826,
0.007236703872680664,
0.007404543876647949,
0.0075008001327514645,
0.007304192066192627,
0.007355391979217529,
0.007246719837188721,
0.007309311866760254,
0.007235583782196045,
0.007364607810974121,
0.007414783954620361,
0.007331840038299561,
0.007353343963623047,
0.0074137282371521,
0.007292928218841553,
0.007293951988220215,
0.007285759925842285,
0.007209983825683594,
0.007334911823272705,
0.0072724480628967286,
0.007264256000518799,
0.007318528175354004,
0.007287807941436767,
0.007361536026000977,
0.00725708818435669,
0.007303167819976806,
0.0074332160949707035,
0.0074332160949707035,
0.007385087966918945,
0.007300096035003662,
0.007353343963623047,
0.007370751857757568,
0.007251967906951904,
0.007321599960327148,
0.007330880165100097,
0.007277567863464355,
0.007303167819976806,
0.00744652795791626,
0.0071495680809020995,
0.006994783878326416,
0.007198719978332519,
0.007217152118682861,
0.007037951946258545,
0.006977536201477051,
0.006973440170288086,
0.007012351989746094,
0.007037951946258545,
0.007178336143493652,
0.007343071937561035,
0.007458816051483155,
0.007472127914428711,
0.00753772783279419,
0.007262207984924316,
0.00719155216217041,
0.007250944137573242,
0.007243936061859131,
0.007230463981628418,
0.007237631797790528,
0.007303167819976806,
0.006998015880584717,
0.007021567821502686,
0.007007232189178467,
0.006961152076721191,
0.006917119979858399,
0.006995935916900634,
0.006917119979858399,
0.006850560188293457,
0.006881279945373535,
0.006875135898590088,
0.006956031799316406,
0.006851583957672119,
0.006957056045532227,
0.006929408073425293,
0.006856704235076904,
0.006817791938781738,
0.006883327960968018,
0.007100480079650879,
0.007146495819091797,
0.007154687881469727,
0.006913023948669434,
0.006951871871948242,
0.006974463939666748,
0.006909952163696289,
0.006953983783721924,
0.006968319892883301,
0.006968319892883301,
0.006852608203887939,
0.006968319892883301,
0.006959104061126709,
0.00690176010131836,
0.006951935768127441,
0.006900735855102539,
0.006865920066833496,
0.006895616054534912,
0.006923264026641846,
0.006945792198181152,
0.006947840213775635,
0.006930431842803955,
0.006896639823913574,
0.006933504104614257,
0.006973440170288086
]
},
"throughput": {
"unit": "samples/s",
"value": 136.98450018739555
},
"energy": {
"unit": "kWh",
"cpu": 8.200177204022995e-08,
"ram": 4.483383656893507e-08,
"gpu": 1.6114763849655305e-07,
"total": 2.8798324710571806e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3472424.21234629
}
}
}
}