IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0fe147b verified
raw
history blame
10.3 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.964416,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 131,
"total": 1.002233696460724,
"mean": 0.007650638904280335,
"stdev": 0.00024259180762490354,
"p50": 0.0077209601402282715,
"p90": 0.007886847972869874,
"p95": 0.00801587200164795,
"p99": 0.008327167987823481,
"values": [
0.008469504356384277,
0.008059871673583985,
0.008026111602783203,
0.008061951637268066,
0.008017919540405273,
0.008022015571594238,
0.007988224029541016,
0.007984127998352051,
0.007918591976165772,
0.00783564805984497,
0.007812096118927002,
0.007877632141113282,
0.007725056171417236,
0.007693312168121338,
0.007753727912902832,
0.007772160053253174,
0.007833600044250488,
0.007844863891601562,
0.00785203218460083,
0.007746560096740723,
0.007816192150115966,
0.007819263935089112,
0.007847936153411865,
0.007833600044250488,
0.007805952072143555,
0.00785920000076294,
0.007707647800445557,
0.007833600044250488,
0.007886847972869874,
0.007771135807037354,
0.007779327869415284,
0.0077916159629821775,
0.007745535850524903,
0.00775270414352417,
0.007776256084442139,
0.007847904205322265,
0.00771888017654419,
0.008013824462890624,
0.00790118408203125,
0.007824384212493896,
0.007833600044250488,
0.00781715202331543,
0.007776256084442139,
0.007741439819335938,
0.00785203218460083,
0.007809023857116699,
0.007760928153991699,
0.007833600044250488,
0.007797760009765625,
0.007702527999877929,
0.007710752010345459,
0.007772160053253174,
0.007861248016357422,
0.007853055953979492,
0.007715839862823487,
0.007827455997467042,
0.00768723201751709,
0.007751679897308349,
0.007795711994171142,
0.007737343788146973,
0.007795711994171142,
0.007956480026245117,
0.007882751941680909,
0.007793600082397461,
0.007837696075439453,
0.0077608962059021,
0.008440832138061523,
0.007725056171417236,
0.007837696075439453,
0.007727104187011719,
0.007649280071258545,
0.007580671787261963,
0.007739391803741455,
0.007625728130340576,
0.0075038719177246095,
0.00740556812286377,
0.007394303798675537,
0.007641088008880615,
0.00759603214263916,
0.007536672115325928,
0.007579648017883301,
0.0077209601402282715,
0.00776697587966919,
0.007570432186126709,
0.007468031883239746,
0.0074967041015625,
0.00749567985534668,
0.007539711952209473,
0.007396351814270019,
0.007325664043426514,
0.007425024032592774,
0.007356416225433349,
0.007373824119567871,
0.007396351814270019,
0.007342080116271973,
0.007325695991516113,
0.007481344223022461,
0.0074106879234313965,
0.007343071937561035,
0.007385087966918945,
0.007330848217010498,
0.007363584041595459,
0.007435264110565186,
0.007349247932434082,
0.007337984085083008,
0.0073697280883789065,
0.007390207767486572,
0.007361536026000977,
0.007356416225433349,
0.007278592109680176,
0.007378943920135498,
0.007356416225433349,
0.007353343963623047,
0.007366655826568603,
0.0073768959045410155,
0.007294976234436036,
0.007398399829864502,
0.007434239864349365,
0.007368703842163086,
0.007422976016998291,
0.007416831970214844,
0.007309311866760254,
0.007362559795379638,
0.007411712169647216,
0.007321599960327148,
0.007398399829864502,
0.007395328044891358,
0.007328767776489258,
0.007457791805267334,
0.00729804801940918,
0.0073134078979492185
]
},
"throughput": {
"unit": "samples/s",
"value": 130.7080379183137
},
"energy": {
"unit": "kWh",
"cpu": 8.328601937934977e-08,
"ram": 4.55301013062126e-08,
"gpu": 1.4963687184615848e-07,
"total": 2.7845299253172087e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3591270.43637745
}
}
}
}