IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f90bfa7 verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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.223-212.873.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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"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": 802.545664,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.8484580078125,
"mean": 7.8484580078125,
"stdev": 0.0,
"p50": 7.8484580078125,
"p90": 7.8484580078125,
"p95": 7.8484580078125,
"p99": 7.8484580078125,
"values": [
7.8484580078125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.851195770833403e-07,
"ram": 5.242609893466422e-07,
"gpu": 1.894445959999512e-06,
"total": 3.4038265264294946e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.79232,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.9972295026779172,
"mean": 0.006973632885859563,
"stdev": 0.00028732270350777006,
"p50": 0.007011328220367432,
"p90": 0.007167385768890381,
"p95": 0.007247462511062622,
"p99": 0.008222595138549806,
"values": [
0.007234560012817383,
0.007293951988220215,
0.007234560012817383,
0.0072499198913574215,
0.00724889612197876,
0.007202816009521484,
0.007174143791198731,
0.007168000221252442,
0.007164927959442138,
0.007181312084197998,
0.007039999961853028,
0.007064576148986816,
0.007077888011932373,
0.00709939193725586,
0.007010303974151612,
0.0069324798583984375,
0.006996992111206054,
0.007018496036529541,
0.0070830078125,
0.007036928176879883,
0.007147520065307617,
0.007077888011932373,
0.007058432102203369,
0.006989823818206787,
0.007011328220367432,
0.007078911781311035,
0.007108607769012451,
0.007074816226959229,
0.006986752033233643,
0.0070563840866088865,
0.00709939193725586,
0.007085055828094483,
0.007030784130096435,
0.007030784130096435,
0.007079936027526855,
0.007109632015228271,
0.00698367977142334,
0.006999040126800537,
0.006986752033233643,
0.007079936027526855,
0.007064576148986816,
0.006994944095611572,
0.007065599918365479,
0.0070348801612854,
0.007044127941131592,
0.007069695949554444,
0.007093183994293213,
0.007088128089904785,
0.007078911781311035,
0.0071157760620117185,
0.007005184173583984,
0.007010303974151612,
0.0070225920677185055,
0.0071188478469848635,
0.007050240039825439,
0.007031807899475098,
0.007062528133392334,
0.007096320152282715,
0.007063551902770996,
0.006915071964263916,
0.0069918718338012695,
0.007028736114501953,
0.007145472049713135,
0.007017471790313721,
0.006988800048828125,
0.007004159927368164,
0.007046144008636474,
0.006992959976196289,
0.0070348801612854,
0.007021567821502686,
0.007049215793609619,
0.007036928176879883,
0.0070266880989074704,
0.007186431884765625,
0.007105535984039306,
0.007110655784606934,
0.007049215793609619,
0.0070594558715820314,
0.007047167778015137,
0.007069695949554444,
0.006990848064422607,
0.006961152076721191,
0.007048128128051757,
0.00703385591506958,
0.0069764480590820315,
0.006929408073425293,
0.006802432060241699,
0.006882304191589355,
0.0069632000923156735,
0.006770688056945801,
0.0066938881874084475,
0.006685696125030518,
0.006743040084838867,
0.006788095951080322,
0.007802879810333252,
0.008251423835754395,
0.008326144218444824,
0.008182784080505372,
0.007955455780029297,
0.007045119762420654,
0.006973440170288086,
0.006887423992156983,
0.006803455829620361,
0.006819839954376221,
0.0067758078575134275,
0.0067338237762451176,
0.006715392112731934,
0.006738944053649902,
0.0066344962120056155,
0.0066826238632202144,
0.0067010560035705566,
0.006650879859924317,
0.006686719894409179,
0.006703104019165039,
0.006673408031463623,
0.006652927875518798,
0.006661151885986328,
0.0066416640281677245,
0.0066344962120056155,
0.006662144184112549,
0.006683648109436035,
0.006650879859924317,
0.007001088142395019,
0.006667295932769776,
0.0066713600158691405,
0.0066744318008422855,
0.0066406397819519045,
0.006656000137329102,
0.006663167953491211,
0.00662937593460083,
0.006657023906707763,
0.006650879859924317,
0.006618112087249756,
0.0066826238632202144,
0.006670335769653321,
0.006630335807800293,
0.006650815963745118,
0.006663167953491211,
0.006631423950195312,
0.006601727962493896,
0.006651968002319336,
0.00662937593460083,
0.006660096168518067
]
},
"throughput": {
"unit": "samples/s",
"value": 143.39728178517976
},
"energy": {
"unit": "kWh",
"cpu": 7.817145168128574e-08,
"ram": 4.274156447188444e-08,
"gpu": 1.5250925943421836e-07,
"total": 2.7342227558738857e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3657346.4903388596
}
}
}
}