IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
eda6f3a verified
raw
history blame
10.9 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": {},
"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",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 913.772544,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 142,
"total": 0.9995580186843873,
"mean": 0.007039140976650614,
"stdev": 0.00023519723808316132,
"p50": 0.007052799940109253,
"p90": 0.00725237774848938,
"p95": 0.007395379018783569,
"p99": 0.007748406357765199,
"values": [
0.008254464149475099,
0.007569439888000488,
0.007555071830749512,
0.007455743789672851,
0.007581696033477783,
0.0074670081138610836,
0.0073768959045410155,
0.007864255905151368,
0.007286784172058106,
0.007169055938720703,
0.007187456130981445,
0.0071188478469848635,
0.007122943878173828,
0.007274496078491211,
0.007132160186767578,
0.007268352031707764,
0.007114751815795899,
0.007196671962738037,
0.007154687881469727,
0.007212096214294433,
0.007187456130981445,
0.007255040168762207,
0.007104512214660645,
0.006894591808319092,
0.007155712127685547,
0.007185344219207764,
0.007104512214660645,
0.007010303974151612,
0.0070830078125,
0.006823935985565186,
0.006976511955261231,
0.007054336071014404,
0.006998015880584717,
0.007103487968444824,
0.006969344139099121,
0.007029759883880615,
0.006790143966674805,
0.006972415924072266,
0.007074816226959229,
0.007003136157989502,
0.00704307222366333,
0.007011328220367432,
0.0070266880989074704,
0.006965248107910156,
0.007046144008636474,
0.007051263809204102,
0.0070225920677185055,
0.007044095993041993,
0.0069928960800170895,
0.007044095993041993,
0.007009280204772949,
0.006993919849395752,
0.007197696208953858,
0.0070348801612854,
0.007063551902770996,
0.006972415924072266,
0.007031807899475098,
0.007063551902770996,
0.007147520065307617,
0.007036928176879883,
0.006964223861694336,
0.007143424034118652,
0.007013376235961914,
0.00708403205871582,
0.0069918718338012695,
0.007071743965148926,
0.007031807899475098,
0.007078911781311035,
0.006801407814025879,
0.006752255916595459,
0.007046144008636474,
0.0069928960800170895,
0.007035903930664063,
0.007261184215545655,
0.007375872135162354,
0.007214079856872559,
0.007115712165832519,
0.007068672180175781,
0.007081984043121338,
0.007155712127685547,
0.007180287837982178,
0.007201791763305664,
0.007123968124389648,
0.007228415966033935,
0.00710041618347168,
0.007144447803497315,
0.007173120021820068,
0.007110655784606934,
0.007135231971740722,
0.0071157760620117185,
0.007135231971740722,
0.00709222412109375,
0.00713318395614624,
0.007097343921661377,
0.007134208202362061,
0.007158720016479493,
0.007396351814270019,
0.007189504146575928,
0.007173120021820068,
0.007164927959442138,
0.007156735897064209,
0.007011328220367432,
0.007130112171173096,
0.007147520065307617,
0.00714137601852417,
0.007131135940551757,
0.007088128089904785,
0.006974463939666748,
0.0067870721817016606,
0.006723584175109864,
0.006689792156219483,
0.006765567779541016,
0.006754303932189941,
0.006758399963378906,
0.006751232147216797,
0.006782976150512696,
0.00672051191329956,
0.006752255916595459,
0.006813695907592773,
0.0067420158386230465,
0.006761472225189209,
0.006765567779541016,
0.006761472225189209,
0.0067717118263244626,
0.006782976150512696,
0.006801407814025879,
0.006714367866516113,
0.006751232147216797,
0.00673689603805542,
0.006714335918426514,
0.006731776237487793,
0.006732800006866455,
0.00675328016281128,
0.0067051839828491215,
0.006725632190704346,
0.006746111869812011,
0.006719488143920899,
0.006755328178405762,
0.00674508810043335,
0.006726655960083008,
0.006713344097137451,
0.006711296081542969
]
},
"throughput": {
"unit": "samples/s",
"value": 142.06278909842536
},
"energy": {
"unit": "kWh",
"cpu": 8.089918127946575e-08,
"ram": 4.408049759546888e-08,
"gpu": 1.528931684217702e-07,
"total": 2.7787284729670483e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3598768.320577318
}
}
}
}