IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ed2af15 verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+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": 798.482432,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.97788037109375,
"mean": 7.97788037109375,
"stdev": 0.0,
"p50": 7.97788037109375,
"p90": 7.97788037109375,
"p95": 7.97788037109375,
"p99": 7.97788037109375,
"values": [
7.97788037109375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.339720967375393e-06,
"ram": 1.2625487457491613e-06,
"gpu": 3.25333593600291e-06,
"total": 6.855605649127465e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1094.57408,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9996668796539309,
"mean": 0.007631044882854433,
"stdev": 0.00035585126275321753,
"p50": 0.007508992195129394,
"p90": 0.007915520191192627,
"p95": 0.008111184120178222,
"p99": 0.009101721572875974,
"values": [
0.007975935935974121,
0.008045568466186523,
0.00799232006072998,
0.007966720104217529,
0.007912447929382324,
0.00785203218460083,
0.007915520191192627,
0.007867392063140868,
0.007773183822631836,
0.007803904056549072,
0.007856128215789794,
0.0077608962059021,
0.0077578239440917966,
0.007711711883544922,
0.007688191890716553,
0.007768095970153809,
0.007674880027770996,
0.007777152061462403,
0.007912447929382324,
0.007775231838226319,
0.007738368034362793,
0.007714816093444824,
0.007705599784851074,
0.007737343788146973,
0.0077619199752807615,
0.007441504001617432,
0.007387135982513428,
0.007416768074035645,
0.007480319976806641,
0.007395328044891358,
0.007436287879943848,
0.007833600044250488,
0.007837696075439453,
0.007894976139068604,
0.007775231838226319,
0.008032256126403809,
0.0083374080657959,
0.007762911796569824,
0.007747583866119385,
0.0077773118019104,
0.007716864109039307,
0.007718912124633789,
0.007768064022064209,
0.007520256042480469,
0.007371776103973389,
0.007444479942321777,
0.007444479942321777,
0.007428095817565918,
0.007409664154052734,
0.007408639907836914,
0.007416831970214844,
0.007425024032592774,
0.007319647789001465,
0.007404543876647949,
0.007401472091674805,
0.007358463764190673,
0.007364607810974121,
0.007393280029296875,
0.0073359360694885255,
0.007435264110565186,
0.007271423816680909,
0.007327744007110596,
0.007416831970214844,
0.00739737606048584,
0.007357439994812012,
0.007606272220611572,
0.007670783996582031,
0.00793497610092163,
0.008176799774169921,
0.007788544178009033,
0.00775164794921875,
0.00778547191619873,
0.007780352115631104,
0.007696383953094482,
0.0076984319686889645,
0.007721024036407471,
0.007586847782135009,
0.007649280071258545,
0.007667712211608887,
0.007307263851165771,
0.00724889612197876,
0.0071485438346862796,
0.007325695991516113,
0.00733900785446167,
0.007098368167877197,
0.007016448020935059,
0.006959136009216309,
0.00769532823562622,
0.00892416000366211,
0.009174015998840332,
0.008978431701660156,
0.007548927783966064,
0.009154560089111329,
0.008855551719665527,
0.00758681583404541,
0.0074926080703735356,
0.007544832229614258,
0.007522304058074952,
0.007508992195129394,
0.007635968208312988,
0.007516160011291504,
0.007479423999786377,
0.007535615921020508,
0.007481344223022461,
0.007462944030761719,
0.0074629120826721195,
0.007476223945617676,
0.007464960098266602,
0.00743833589553833,
0.007458816051483155,
0.007416831970214844,
0.007468031883239746,
0.007478271961212158,
0.007455743789672851,
0.007448512077331543,
0.007480319976806641,
0.007476223945617676,
0.0074414081573486324,
0.007428095817565918,
0.007404543876647949,
0.0074403839111328125,
0.007434239864349365,
0.007435264110565186,
0.0074208641052246095,
0.007451648235321045,
0.007459839820861816,
0.007478271961212158,
0.0074711041450500485,
0.007407616138458252,
0.007485439777374267,
0.007468031883239746
]
},
"throughput": {
"unit": "samples/s",
"value": 131.04365330713986
},
"energy": {
"unit": "kWh",
"cpu": 8.285023714527173e-08,
"ram": 4.527459847384872e-08,
"gpu": 1.544620505314556e-07,
"total": 2.82586886150576e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3538734.6299826223
}
}
}
}