IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
df86966 verified
raw
history blame
10.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_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": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 907.718656,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 132,
"total": 0.9969938216209413,
"mean": 0.007552983497128342,
"stdev": 0.00017699768923898378,
"p50": 0.007501312017440796,
"p90": 0.007709286212921143,
"p95": 0.007813683199882506,
"p99": 0.008190678834915161,
"values": [
0.008078335762023926,
0.007715839862823487,
0.007804927825927735,
0.0077608962059021,
0.007700479984283447,
0.007751679897308349,
0.007705599784851074,
0.007628799915313721,
0.007511040210723877,
0.007535615921020508,
0.007536640167236328,
0.007622655868530274,
0.007475135803222656,
0.007482367992401123,
0.007459839820861816,
0.007480319976806641,
0.007531519889831543,
0.007582719802856445,
0.0075632638931274416,
0.007606272220611572,
0.007525375843048096,
0.007524352073669433,
0.00760422420501709,
0.007590911865234375,
0.00759603214263916,
0.007565248012542725,
0.0075673599243164065,
0.007497695922851563,
0.007548927783966064,
0.0075560321807861324,
0.0075642881393432615,
0.0074670081138610836,
0.00742195177078247,
0.007434239864349365,
0.007481344223022461,
0.007458816051483155,
0.007413792133331299,
0.007539711952209473,
0.007570432186126709,
0.0076995201110839845,
0.00758787202835083,
0.007576576232910156,
0.007557119846343994,
0.007481344223022461,
0.0074670081138610836,
0.007519231796264648,
0.007585792064666748,
0.0075345921516418455,
0.007525375843048096,
0.007485439777374267,
0.007477248191833496,
0.007565311908721924,
0.007459839820861816,
0.0075038719177246095,
0.007574528217315674,
0.007444479942321777,
0.0074106879234313965,
0.007468031883239746,
0.007447487831115722,
0.007460864067077637,
0.00745472002029419,
0.00754585599899292,
0.007478240013122558,
0.007583744049072265,
0.007634943962097168,
0.00757862377166748,
0.008241151809692383,
0.007532576084136963,
0.007526400089263916,
0.007493631839752197,
0.007549952030181885,
0.007684095859527588,
0.007513023853302002,
0.007294976234436036,
0.007320576190948487,
0.007574528217315674,
0.007635968208312988,
0.007527423858642578,
0.0075008001327514645,
0.007717855930328369,
0.007701504230499268,
0.0076943359375,
0.007763967990875244,
0.008019968032836914,
0.007824384212493896,
0.008060928344726562,
0.007709695816040039,
0.008787967681884766,
0.00790835189819336,
0.007599103927612305,
0.007510015964508057,
0.0074107198715209965,
0.007468031883239746,
0.007484416007995606,
0.007451648235321045,
0.0074741759300231934,
0.007448575973510742,
0.007489535808563232,
0.007450623989105225,
0.007435264110565186,
0.00744652795791626,
0.007468031883239746,
0.0074741759300231934,
0.007513088226318359,
0.0074670081138610836,
0.0074670081138610836,
0.007461887836456299,
0.0074301438331604,
0.007435264110565186,
0.007457791805267334,
0.00744758415222168,
0.007456768035888672,
0.007460864067077637,
0.00745468807220459,
0.007475200176239013,
0.007442431926727295,
0.007501823902130127,
0.007491583824157715,
0.007455743789672851,
0.00748748779296875,
0.007434239864349365,
0.0074301438331604,
0.007436287879943848,
0.007485439777374267,
0.007459839820861816,
0.007476223945617676,
0.007445504188537597,
0.007442431926727295,
0.007425024032592774,
0.007431168079376221,
0.0074301438331604,
0.007426047801971435
]
},
"throughput": {
"unit": "samples/s",
"value": 132.39801204122872
},
"energy": {
"unit": "kWh",
"cpu": 8.778546450069414e-08,
"ram": 4.7989910841958286e-08,
"gpu": 1.5830671100740164e-07,
"total": 2.9408208635005404e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3400411.131501809
}
}
}
}