IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8bc4635 verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.6.0.dev20240917+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.224-212.876.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.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": 810.63936,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.533736328125,
"mean": 8.533736328125,
"stdev": 0.0,
"p50": 8.533736328125,
"p90": 8.533736328125,
"p95": 8.533736328125,
"p99": 8.533736328125,
"values": [
8.533736328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.009296861260434e-07,
"ram": 4.743735752196683e-07,
"gpu": 0.0,
"total": 1.3753032613457117e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1104.769024,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 130,
"total": 1.0037987489700317,
"mean": 0.007721528838231015,
"stdev": 0.00024111811726450617,
"p50": 0.007658495903015137,
"p90": 0.007870771360397339,
"p95": 0.00833643488883972,
"p99": 0.0087493630027771,
"values": [
0.008416255950927735,
0.008787967681884766,
0.0084203519821167,
0.008455167770385743,
0.008898591995239258,
0.008002559661865234,
0.0077619199752807615,
0.007711743831634522,
0.007727136135101318,
0.008055808067321778,
0.0077844481468200685,
0.007756800174713135,
0.007788544178009033,
0.007742464065551758,
0.007815135955810546,
0.007737343788146973,
0.007650303840637207,
0.007651328086853027,
0.007709695816040039,
0.008233983993530274,
0.008359935760498047,
0.008654848098754882,
0.008307711601257324,
0.007741439819335938,
0.00774348783493042,
0.007700479984283447,
0.007696383953094482,
0.007654399871826172,
0.007540736198425293,
0.007607295989990235,
0.007529471874237061,
0.007678976058959961,
0.007671807765960693,
0.007692287921905518,
0.007600128173828125,
0.007565311908721924,
0.007555071830749512,
0.007575551986694336,
0.007589824199676513,
0.007618559837341309,
0.007549983978271484,
0.007656447887420655,
0.007642111778259277,
0.007655424118041992,
0.007622655868530274,
0.007527423858642578,
0.0075263681411743165,
0.007543807983398438,
0.007541823863983155,
0.0075335679054260255,
0.00753766393661499,
0.00754585599899292,
0.007553023815155029,
0.007555071830749512,
0.007556096076965332,
0.007566336154937744,
0.007541759967803955,
0.007548927783966064,
0.00753766393661499,
0.007565311908721924,
0.007505919933319092,
0.007565311908721924,
0.008068096160888672,
0.007690176010131836,
0.007716864109039307,
0.007708672046661377,
0.007714816093444824,
0.007663616180419922,
0.0075304961204528805,
0.007571455955505371,
0.007600128173828125,
0.0077547521591186525,
0.007664639949798584,
0.007660575866699219,
0.007639039993286132,
0.007670783996582031,
0.0076953921318054196,
0.007705599784851074,
0.007682047843933106,
0.007837696075439453,
0.008064000129699708,
0.007836671829223632,
0.0077281279563903805,
0.007709695816040039,
0.007706655979156494,
0.0076605439186096195,
0.007648255825042725,
0.007627871990203858,
0.00766153621673584,
0.007628799915313721,
0.00765337610244751,
0.00762063980102539,
0.007676928043365478,
0.00764415979385376,
0.007641088008880615,
0.00769536018371582,
0.007705599784851074,
0.007669760227203369,
0.007659520149230957,
0.0076605439186096195,
0.00765337610244751,
0.007646207809448242,
0.007663616180419922,
0.007856128215789794,
0.007677951812744141,
0.007669760227203369,
0.007704576015472412,
0.007654335975646973,
0.0076605439186096195,
0.007656447887420655,
0.007679008007049561,
0.007658495903015137,
0.00765235185623169,
0.007632927894592285,
0.007669760227203369,
0.00759500789642334,
0.0076145601272583005,
0.007631872177124023,
0.007615488052368164,
0.007647232055664062,
0.007640031814575196,
0.007638016223907471,
0.007654399871826172,
0.007658495903015137,
0.007633920192718506,
0.007610367774963379,
0.007746560096740723,
0.007635968208312988,
0.007647232055664062,
0.007650303840637207
]
},
"throughput": {
"unit": "samples/s",
"value": 129.50803149873332
},
"energy": {
"unit": "kWh",
"cpu": 8.813629265936013e-08,
"ram": 4.816472916833351e-08,
"gpu": 1.6159066425183412e-07,
"total": 2.9789168607952777e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3356924.8378856443
}
}
}
}