IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
64e7c42 verified
raw
history blame
13 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 803.090432,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.07162265777587891
],
"count": 1,
"total": 0.07162265777587891,
"mean": 0.07162265777587891,
"p50": 0.07162265777587891,
"p90": 0.07162265777587891,
"p95": 0.07162265777587891,
"p99": 0.07162265777587891,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1089.298432,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.03808
},
"latency": {
"unit": "s",
"values": [
0.006660096168518067,
0.0063539199829101565,
0.006244351863861084,
0.00617574405670166,
0.006141952037811279,
0.005929088115692139,
0.006041600227355957,
0.006060031890869141,
0.00601907205581665,
0.005972991943359375,
0.0060067839622497555,
0.005952511787414551,
0.005985280036926269,
0.005949440002441406,
0.0059565439224243165,
0.005955584049224853,
0.006391776084899902,
0.005912511825561523,
0.0059361281394958495,
0.005979135990142822,
0.005934080123901367,
0.005834752082824707,
0.005777408123016357,
0.005827583789825439,
0.005852159976959229,
0.005875616073608398,
0.005900288105010986,
0.005896224021911621,
0.005870560169219971,
0.005956607818603516,
0.005913599967956543,
0.00597811222076416,
0.005991424083709717,
0.006150207996368408,
0.006082560062408447,
0.006136832237243653,
0.0060405759811401364,
0.00601087999343872,
0.006082528114318848,
0.005978079795837402,
0.0059658241271972655,
0.005833727836608887,
0.005879807949066162,
0.005946368217468262,
0.006064127922058105,
0.0059688959121704105,
0.006067200183868408,
0.005963776111602783,
0.005988224029541016,
0.005979199886322021,
0.006013951778411865,
0.005874688148498535,
0.006008831977844238,
0.006015999794006348,
0.00601087999343872,
0.005866496086120605,
0.00602726411819458,
0.006012928009033203,
0.005917695999145508,
0.005913599967956543,
0.005901311874389649,
0.005911551952362061,
0.005911456108093262,
0.005905248165130615,
0.005913472175598145,
0.005931104183197021,
0.005896192073822021,
0.0058757119178771975,
0.006436863899230957,
0.006017119884490967,
0.006387712001800537,
0.006049791812896729,
0.005959680080413818,
0.006013951778411865,
0.005994495868682862,
0.0060415358543396,
0.005931039810180664,
0.006018112182617188,
0.005984255790710449,
0.006012928009033203,
0.005796864032745362,
0.005959775924682617,
0.0059955201148986816,
0.00594646406173706,
0.005823391914367676,
0.005793791770935058,
0.005795839786529541,
0.00573747205734253,
0.005811200141906738,
0.005844992160797119,
0.005787648200988769,
0.005612544059753418,
0.005516223907470703,
0.0058388481140136715,
0.0059269118309021,
0.0060661759376525876,
0.006066336154937744,
0.00607539176940918,
0.006102015972137451,
0.006100992202758789,
0.006218751907348633,
0.006401023864746094,
0.006207488059997559,
0.005890143871307373,
0.005855167865753174,
0.005997504234313965,
0.006014976024627685,
0.005901311874389649,
0.005832704067230224,
0.0058336639404296875,
0.0059483199119567875,
0.005912576198577881,
0.005796864032745362,
0.00577023983001709,
0.005788671970367432,
0.005781504154205322,
0.005826560020446778,
0.005779391765594483,
0.005790719985961914,
0.00576204776763916,
0.005736447811126709,
0.005782591819763184,
0.005754975795745849,
0.005924863815307617,
0.005807104110717773,
0.005917695999145508,
0.005783552169799804,
0.005826560020446778,
0.005797887802124023,
0.005739520072937012,
0.005752831935882568,
0.005787680149078369,
0.005791744232177734,
0.005783552169799804,
0.005799935817718506,
0.005763072013854981,
0.0058388481140136715,
0.005788671970367432,
0.005765120029449463,
0.005764095783233642,
0.005735424041748047,
0.005769216060638428,
0.005786623954772949,
0.005946368217468262,
0.005763072013854981,
0.005843967914581299,
0.005787648200988769,
0.005787648200988769,
0.005929984092712402,
0.005816319942474365,
0.005796031951904297,
0.005724160194396972,
0.005818367958068848,
0.005886975765228271,
0.00581331205368042,
0.005901311874389649,
0.006454239845275879,
0.00586956787109375,
0.005662591934204102,
0.00553984022140503,
0.005535808086395264,
0.005508096218109131,
0.005535744190216065,
0.0055285758972167965,
0.005518367767333984,
0.005563392162322998,
0.005768191814422607,
0.005482495784759522,
0.005494783878326416
],
"count": 169,
"total": 0.9985105595588686,
"mean": 0.005908346506265495,
"p50": 0.005911456108093262,
"p90": 0.006082534503936768,
"p95": 0.006214246368408203,
"p99": 0.006442424201965332,
"stdev": 0.00018290878262844582,
"stdev_": 3.0957693905474324
},
"throughput": {
"unit": "samples/s",
"value": 169.25209090894583
},
"energy": {
"unit": "kWh",
"cpu": 7.029775362837417e-08,
"ram": 3.841323015231843e-08,
"gpu": 1.3357505755029163e-07,
"total": 2.4228604133098423e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4127352.9193285685
}
}
}
}