IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e0fb19f verified
raw
history blame
11.8 kB
{
"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.32.1",
"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": 719.5648,
"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.11438427734375,
"mean": 7.11438427734375,
"stdev": 0.0,
"p50": 7.11438427734375,
"p90": 7.11438427734375,
"p95": 7.11438427734375,
"p99": 7.11438427734375,
"values": [
7.11438427734375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.918065163824293e-07,
"ram": 4.581758483824198e-07,
"gpu": 1.881945949999339e-06,
"total": 3.2319283147641884e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 918.573056,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0000242552757264,
"mean": 0.007246552574461785,
"stdev": 0.00022196635982287127,
"p50": 0.007190016031265258,
"p90": 0.007539200019836426,
"p95": 0.007576883363723755,
"p99": 0.007739094929695129,
"values": [
0.007781375885009765,
0.007745535850524903,
0.007483391761779785,
0.0077281279563903805,
0.00738099193572998,
0.007533631801605225,
0.0076277761459350585,
0.0075008001327514645,
0.0074741759300231934,
0.0075263681411743165,
0.007524352073669433,
0.0074065918922424315,
0.007444479942321777,
0.007551936149597168,
0.007511040210723877,
0.007553023815155029,
0.00757862377166748,
0.00760211181640625,
0.007507967948913574,
0.007456768035888672,
0.007231488227844239,
0.007265279769897461,
0.007204864025115967,
0.007266304016113281,
0.007309311866760254,
0.007247871875762939,
0.007226367950439453,
0.007237631797790528,
0.007314432144165039,
0.007264256000518799,
0.007139328002929687,
0.007161856174468994,
0.007187456130981445,
0.007161856174468994,
0.0071792640686035155,
0.007192575931549072,
0.007158783912658692,
0.007280640125274658,
0.007260159969329834,
0.007237631797790528,
0.007528448104858398,
0.00754585599899292,
0.0074741759300231934,
0.007426047801971435,
0.007554048061370849,
0.007511072158813477,
0.007458816051483155,
0.007454751968383789,
0.007476223945617676,
0.007428095817565918,
0.007426047801971435,
0.00744755220413208,
0.00753766393661499,
0.007484416007995606,
0.007461887836456299,
0.007431168079376221,
0.00744652795791626,
0.0074332160949707035,
0.007420928001403809,
0.00743939208984375,
0.007576576232910156,
0.00757862377166748,
0.0074967041015625,
0.007514111995697022,
0.007527455806732177,
0.007465983867645264,
0.007572480201721191,
0.00738099193572998,
0.007221248149871826,
0.007155712127685547,
0.007074816226959229,
0.007070720195770264,
0.006970367908477783,
0.007132224082946777,
0.007002143859863281,
0.006841343879699707,
0.006789120197296142,
0.00684441614151001,
0.007143424034118652,
0.00724070405960083,
0.007245823860168457,
0.007258048057556152,
0.0073994240760803225,
0.007528448104858398,
0.007131135940551757,
0.007064576148986816,
0.007069695949554444,
0.007123968124389648,
0.007054336071014404,
0.007065599918365479,
0.007054336071014404,
0.00708403205871582,
0.007065599918365479,
0.007053311824798584,
0.007122943878173828,
0.00703385591506958,
0.007012351989746094,
0.00694271993637085,
0.006972415924072266,
0.006998015880584717,
0.007000063896179199,
0.006974463939666748,
0.007067647933959961,
0.007061535835266113,
0.0070266880989074704,
0.007037951946258545,
0.0070563840866088865,
0.007045119762420654,
0.0070891518592834475,
0.007023615837097168,
0.007036928176879883,
0.007542784214019775,
0.007161856174468994,
0.00709119987487793,
0.0070563840866088865,
0.007013408184051514,
0.0070563840866088865,
0.0070339198112487795,
0.007117824077606201,
0.007030720233917236,
0.007041088104248047,
0.007049215793609619,
0.007077888011932373,
0.007064576148986816,
0.007051263809204102,
0.007049183845520019,
0.007065599918365479,
0.007067647933959961,
0.0070256638526916505,
0.007015456199645996,
0.007016448020935059,
0.007035903930664063,
0.007031807899475098,
0.007058432102203369,
0.007018496036529541,
0.007036928176879883,
0.007031807899475098,
0.007050240039825439
]
},
"throughput": {
"unit": "samples/s",
"value": 137.99665285313574
},
"energy": {
"unit": "kWh",
"cpu": 8.558082423335928e-08,
"ram": 4.679197231567844e-08,
"gpu": 1.8457448818705197e-07,
"total": 3.169472847360897e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3155098.807149154
}
}
}
}