IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
093e619 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": 763.383808,
"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.411904296875,
"mean": 7.411904296875,
"stdev": 0.0,
"p50": 7.411904296875,
"p90": 7.411904296875,
"p95": 7.411904296875,
"p99": 7.411904296875,
"values": [
7.411904296875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.899851687496766e-07,
"ram": 4.7216412115036945e-07,
"gpu": 1.646945762000078e-06,
"total": 3.009095051900124e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 963.977216,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 136,
"total": 1.001033857822418,
"mean": 0.0073605430722236635,
"stdev": 0.00023690955553478155,
"p50": 0.007313951969146729,
"p90": 0.007630863904953003,
"p95": 0.007681280016899108,
"p99": 0.0078076928138732914,
"values": [
0.007726111888885498,
0.00764518404006958,
0.007732223987579345,
0.007304192066192627,
0.007251967906951904,
0.007261184215545655,
0.00727347183227539,
0.007280704021453858,
0.00727347183227539,
0.007217152118682861,
0.007275519847869873,
0.007264256000518799,
0.007198719978332519,
0.007229440212249756,
0.008026111602783203,
0.0075970559120178225,
0.007654399871826172,
0.007600096225738526,
0.007580671787261963,
0.007554048061370849,
0.007528448104858398,
0.007572480201721191,
0.007725056171417236,
0.00760319995880127,
0.007607359886169434,
0.007584767818450928,
0.007574528217315674,
0.007592959880828858,
0.007526400089263916,
0.0075939841270446775,
0.00758681583404541,
0.007515135765075683,
0.007476223945617676,
0.007488512039184571,
0.0075038719177246095,
0.00765337610244751,
0.007544832229614258,
0.007585792064666748,
0.0075673599243164065,
0.007651328086853027,
0.007666687965393066,
0.007629824161529541,
0.007614463806152344,
0.007628799915313721,
0.007523327827453613,
0.00757862377166748,
0.007601151943206787,
0.007642111778259277,
0.007562240123748779,
0.007538656234741211,
0.0074926080703735356,
0.007504896163940429,
0.007548927783966064,
0.007561215877532959,
0.007615488052368164,
0.007475200176239013,
0.007477248191833496,
0.007523327827453613,
0.0074629120826721195,
0.0074741759300231934,
0.0075304961204528805,
0.007549952030181885,
0.0075632638931274416,
0.00759603214263916,
0.007605247974395752,
0.007606272220611572,
0.0072468481063842774,
0.0072130560874938965,
0.007751679897308349,
0.007821311950683594,
0.007782400131225586,
0.007630879878997803,
0.007518176078796387,
0.007502848148345947,
0.007379968166351319,
0.0070553598403930665,
0.0071792640686035155,
0.007067647933959961,
0.006845439910888672,
0.006808576107025147,
0.006820864200592041,
0.007080959796905518,
0.007357439994812012,
0.007407616138458252,
0.007296000003814697,
0.007353343963623047,
0.0076308479309082035,
0.00732371187210083,
0.007170048236846924,
0.007132160186767578,
0.007132160186767578,
0.007101439952850342,
0.007165952205657959,
0.0071495680809020995,
0.007163904190063477,
0.007175168037414551,
0.007117824077606201,
0.007134208202362061,
0.0071495680809020995,
0.0071495680809020995,
0.007117824077606201,
0.00714137601852417,
0.007130112171173096,
0.007137279987335205,
0.0071198720932006835,
0.007088128089904785,
0.007124991893768311,
0.007156735897064209,
0.007150591850280762,
0.007113664150238037,
0.007097343921661377,
0.007130112171173096,
0.007131135940551757,
0.007123968124389648,
0.007108607769012451,
0.007109632015228271,
0.007136256217956543,
0.007136256217956543,
0.007136256217956543,
0.007105535984039306,
0.007164927959442138,
0.007105535984039306,
0.007214079856872559,
0.0072765440940856935,
0.007457759857177735,
0.007256063938140869,
0.00714137601852417,
0.007154687881469727,
0.007134208202362061,
0.007129087924957276,
0.007095295906066895,
0.007101439952850342,
0.007114751815795899,
0.00710969591140747,
0.007135231971740722,
0.007130112171173096
]
},
"throughput": {
"unit": "samples/s",
"value": 135.85954055125094
},
"energy": {
"unit": "kWh",
"cpu": 8.41222790484657e-08,
"ram": 4.5994634355001115e-08,
"gpu": 1.5761635934751957e-07,
"total": 2.877332727509864e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3475440.954183398
}
}
}
}