IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
54c0ba6 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": {},
"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": 904.486912,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 150,
"total": 1.0009382691383368,
"mean": 0.0066729217942555746,
"stdev": 0.0003046907216234972,
"p50": 0.0064849920272827145,
"p90": 0.00706785273551941,
"p95": 0.007170713472366333,
"p99": 0.007404410872459411,
"values": [
0.007553023815155029,
0.007230463981628418,
0.007129087924957276,
0.007200767993927002,
0.007172095775604248,
0.007205887794494629,
0.007067647933959961,
0.007060480117797851,
0.007069695949554444,
0.006966271877288818,
0.007385087966918945,
0.006974463939666748,
0.0070553598403930665,
0.007081984043121338,
0.007005184173583984,
0.007002111911773682,
0.0070348801612854,
0.007044095993041993,
0.007027711868286133,
0.0070553598403930665,
0.0069621758460998535,
0.006947840213775635,
0.006999040126800537,
0.006976511955261231,
0.0069407038688659665,
0.007021567821502686,
0.007087103843688965,
0.0071402878761291505,
0.006994944095611572,
0.006986752033233643,
0.007028736114501953,
0.006993855953216553,
0.006969344139099121,
0.006910975933074951,
0.007187456130981445,
0.006989823818206787,
0.006944767951965332,
0.006940671920776367,
0.006980607986450196,
0.007028736114501953,
0.007169023990631103,
0.0069959678649902345,
0.007074816226959229,
0.007031807899475098,
0.0069621758460998535,
0.007003136157989502,
0.0069621758460998535,
0.0068904318809509275,
0.006732800006866455,
0.006797311782836914,
0.006933504104614257,
0.006739935874938965,
0.00652288007736206,
0.006595583915710449,
0.006696959972381592,
0.0067420158386230465,
0.006776832103729248,
0.0068884482383728025,
0.0069027838706970214,
0.006873087882995605,
0.006982656002044678,
0.007021567821502686,
0.006864927768707276,
0.007422976016998291,
0.006532095909118653,
0.00652185583114624,
0.00643174409866333,
0.006478879928588867,
0.0064849920272827145,
0.006423552036285401,
0.006519807815551758,
0.006441984176635742,
0.006512639999389648,
0.006518784046173095,
0.006426559925079346,
0.006518784046173095,
0.006535168170928955,
0.006403071880340576,
0.006436863899230957,
0.006379456043243408,
0.006415359973907471,
0.006426623821258545,
0.006421504020690918,
0.00643174409866333,
0.0063836159706115725,
0.006411263942718506,
0.006400000095367431,
0.0066344962120056155,
0.006445055961608887,
0.006434815883636475,
0.0063498239517211915,
0.006433792114257812,
0.006364160060882569,
0.006428671836853027,
0.006451200008392334,
0.00637440013885498,
0.0064245758056640625,
0.0063836159706115725,
0.006408192157745361,
0.0064133119583129885,
0.006385663986206055,
0.006449151992797852,
0.00638976001739502,
0.006434815883636475,
0.006458367824554443,
0.006379519939422608,
0.0064143362045288085,
0.006393856048583985,
0.006372352123260498,
0.006434879779815674,
0.006364160060882569,
0.006396927833557129,
0.006402048110961914,
0.006414271831512451,
0.006472703933715821,
0.006379519939422608,
0.006479936122894287,
0.0064245758056640625,
0.006364160060882569,
0.0064102401733398436,
0.006416384220123291,
0.006448128223419189,
0.006451200008392334,
0.006375423908233643,
0.006415359973907471,
0.0064133119583129885,
0.0064143362045288085,
0.006549503803253174,
0.00643174409866333,
0.0064849920272827145,
0.0064849920272827145,
0.006436863899230957,
0.006474751949310303,
0.00643174409866333,
0.006395904064178467,
0.006423552036285401,
0.0063907837867736815,
0.006406144142150879,
0.006415359973907471,
0.006376480102539063,
0.00643891191482544,
0.006362112045288086,
0.006553599834442139,
0.006412288188934326,
0.006393856048583985,
0.006432767868041992,
0.006367231845855713,
0.006423552036285401,
0.006398975849151611,
0.006356927871704101
]
},
"throughput": {
"unit": "samples/s",
"value": 149.85939155781148
},
"energy": {
"unit": "kWh",
"cpu": 7.52676367424376e-08,
"ram": 4.115020949503828e-08,
"gpu": 1.464610876329144e-07,
"total": 2.628789338703903e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3804032.469536108
}
}
}
}