
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
aee9d34
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 718.434304, | |
"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.2162138671875, | |
"mean": 7.2162138671875, | |
"stdev": 0.0, | |
"p50": 7.2162138671875, | |
"p90": 7.2162138671875, | |
"p95": 7.2162138671875, | |
"p99": 7.2162138671875, | |
"values": [ | |
7.2162138671875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.703306317329407e-07, | |
"ram": 4.6117019961495013e-07, | |
"gpu": 1.661945774000806e-06, | |
"total": 2.9934466053486968e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.26176, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 0.9998713288307187, | |
"mean": 0.007517829540080594, | |
"stdev": 0.00034734841458306323, | |
"p50": 0.0075980801582336424, | |
"p90": 0.007851008129119872, | |
"p95": 0.007903641510009765, | |
"p99": 0.00863195167541504, | |
"values": [ | |
0.00818892765045166, | |
0.007958528041839599, | |
0.007931903839111328, | |
0.00788479995727539, | |
0.007825439929962158, | |
0.007860223770141601, | |
0.007861248016357422, | |
0.007762944221496582, | |
0.007686143875122071, | |
0.007846911907196046, | |
0.0077588801383972165, | |
0.007624703884124756, | |
0.007625728130340576, | |
0.007870463848114014, | |
0.007699456214904785, | |
0.007709695816040039, | |
0.007734272003173828, | |
0.00774451208114624, | |
0.007745535850524903, | |
0.007685120105743408, | |
0.007724031925201416, | |
0.007778304100036621, | |
0.0077916159629821775, | |
0.007732223987579345, | |
0.007766016006469726, | |
0.007781343936920166, | |
0.007677951812744141, | |
0.007706624031066894, | |
0.007689216136932373, | |
0.007589888095855713, | |
0.007549952030181885, | |
0.007585792064666748, | |
0.007658495903015137, | |
0.007608320236206055, | |
0.007632895946502686, | |
0.007686143875122071, | |
0.007706624031066894, | |
0.00785203218460083, | |
0.007721920013427735, | |
0.007703551769256592, | |
0.007725056171417236, | |
0.007727104187011719, | |
0.007731200218200684, | |
0.007778304100036621, | |
0.007737311840057373, | |
0.007774176120758057, | |
0.0076871681213378906, | |
0.007879680156707763, | |
0.007581696033477783, | |
0.008700927734375, | |
0.007857151985168457, | |
0.007716864109039307, | |
0.007576608180999756, | |
0.007647232055664062, | |
0.007622655868530274, | |
0.007628799915313721, | |
0.007650303840637207, | |
0.007701504230499268, | |
0.007748608112335205, | |
0.007794688224792481, | |
0.007738368034362793, | |
0.0077608962059021, | |
0.007777279853820801, | |
0.007658495903015137, | |
0.007686143875122071, | |
0.007659520149230957, | |
0.007591936111450195, | |
0.0075980801582336424, | |
0.0075673599243164065, | |
0.0074670081138610836, | |
0.007460864067077637, | |
0.007589888095855713, | |
0.007435232162475586, | |
0.007259136199951172, | |
0.007247871875762939, | |
0.00733900785446167, | |
0.007477248191833496, | |
0.007571455955505371, | |
0.007583775997161865, | |
0.0075673599243164065, | |
0.007671807765960693, | |
0.00778547191619873, | |
0.008664064407348633, | |
0.008563712120056152, | |
0.008458239555358887, | |
0.007392191886901855, | |
0.007251967906951904, | |
0.007306303977966309, | |
0.007241727828979493, | |
0.007085055828094483, | |
0.007161856174468994, | |
0.007193600177764893, | |
0.007137279987335205, | |
0.007197696208953858, | |
0.007176191806793213, | |
0.007151616096496582, | |
0.00713318395614624, | |
0.007157760143280029, | |
0.007068672180175781, | |
0.007104512214660645, | |
0.007139328002929687, | |
0.007129087924957276, | |
0.0071116480827331545, | |
0.007070720195770264, | |
0.007096320152282715, | |
0.00709119987487793, | |
0.007198719978332519, | |
0.007156735897064209, | |
0.007054336071014404, | |
0.00708403205871582, | |
0.0070891518592834475, | |
0.0071905279159545895, | |
0.007064576148986816, | |
0.007080959796905518, | |
0.007109632015228271, | |
0.007122975826263428, | |
0.00709939193725586, | |
0.007080959796905518, | |
0.007107583999633789, | |
0.007123968124389648, | |
0.007150591850280762, | |
0.007158783912658692, | |
0.007041024208068848, | |
0.007192575931549072, | |
0.007080959796905518, | |
0.007116799831390381, | |
0.007050240039825439, | |
0.00708403205871582, | |
0.0070891518592834475, | |
0.00719046401977539, | |
0.007185440063476562, | |
0.0070778241157531735, | |
0.007096320152282715 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.01711546778162 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.437827029878274e-08, | |
"ram": 4.6079153066767985e-08, | |
"gpu": 1.5455883129078056e-07, | |
"total": 2.8501625465633127e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3508571.8223537337 | |
} | |
} | |
} | |
} |