IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3f09892 verified
raw
history blame
10.7 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": "8ef7b0420a1d5aa903d786290f7ab247769da879",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1011.28192,
"max_global_vram": 897.150976,
"max_process_vram": 211722.493952,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 144,
"total": 1.0006038513183597,
"mean": 0.006948637856377495,
"stdev": 0.00028425412963173434,
"p50": 0.006819953441619873,
"p90": 0.007339437866210938,
"p95": 0.007646156048774719,
"p99": 0.007803679184913636,
"values": [
0.008132583618164062,
0.007200590133666992,
0.007227311134338379,
0.006782992839813233,
0.00674523401260376,
0.006775474071502686,
0.006775153160095215,
0.006792273998260498,
0.006731473922729493,
0.006758354187011719,
0.0067789931297302245,
0.006756914138793945,
0.006725714206695556,
0.0067463541030883785,
0.0067629928588867185,
0.006756274223327636,
0.006755313873291016,
0.006734993934631348,
0.00693755292892456,
0.006754992961883545,
0.006748913764953613,
0.006741872787475586,
0.006796433925628662,
0.0067615537643432614,
0.006752112865447998,
0.006779473781585693,
0.006758193969726562,
0.006770993232727051,
0.006720754146575927,
0.006754034042358399,
0.006753714084625244,
0.006777392864227295,
0.006810193061828613,
0.0068100328445434575,
0.006938672065734864,
0.0067572340965271,
0.006768592834472656,
0.006740754127502442,
0.006739633083343506,
0.006787313938140869,
0.0067701940536499024,
0.00677867317199707,
0.00676395320892334,
0.00678395414352417,
0.006742514133453369,
0.006724753856658936,
0.007491628170013428,
0.007829065799713136,
0.007606987953186035,
0.007594027042388916,
0.007421709060668945,
0.007194830894470215,
0.007322189807891846,
0.00707995080947876,
0.007346829891204834,
0.006769873142242431,
0.007158990859985352,
0.006723313808441162,
0.006742673873901367,
0.007283949851989746,
0.0068236331939697265,
0.00722314977645874,
0.0068095531463623045,
0.006765713214874267,
0.006728114128112793,
0.007665387153625488,
0.006819633007049561,
0.007001391887664795,
0.006759633064270019,
0.007103470802307129,
0.00713451099395752,
0.007226190090179443,
0.007033071994781494,
0.006812112808227539,
0.006842992782592774,
0.006818673133850098,
0.006841392993927002,
0.006834993839263916,
0.0068615531921386716,
0.006842193126678467,
0.0068247528076171874,
0.006838512897491455,
0.006838832855224609,
0.006852112770080567,
0.0068202738761901855,
0.006823793888092041,
0.0068349928855896,
0.006801874160766602,
0.007256111145019531,
0.007266670227050781,
0.007368589878082275,
0.007019792079925537,
0.006803153038024902,
0.006793714046478271,
0.006851792812347412,
0.006819633007049561,
0.006822032928466797,
0.007065711975097656,
0.006981072902679443,
0.006854992866516113,
0.006855792999267578,
0.006846192836761474,
0.007098831176757812,
0.006855632781982422,
0.006779633045196533,
0.006842833042144775,
0.006842352867126465,
0.006832592964172364,
0.006784273147583008,
0.006779633045196533,
0.00680875301361084,
0.006852112770080567,
0.006778032779693604,
0.006846192836761474,
0.006811152935028076,
0.006807473182678223,
0.006815632820129394,
0.00680443286895752,
0.006799473762512207,
0.006822514057159424,
0.006822992801666259,
0.007353710174560547,
0.007747945785522461,
0.0072239508628845215,
0.007653068065643311,
0.0077237868309021,
0.007706667900085449,
0.007770027160644531,
0.007230669975280762,
0.007034512042999268,
0.0072981901168823245,
0.007313869953155518,
0.007234350204467773,
0.007051791191101074,
0.006756274223327636,
0.006848272800445557,
0.006783154010772705,
0.006838033199310303,
0.006815793037414551,
0.006796273231506347,
0.006826033115386963,
0.0067863531112670895,
0.006814671993255615,
0.006794672966003418
]
},
"throughput": {
"unit": "samples/s",
"value": 143.9130978861123
},
"energy": null,
"efficiency": null
}
}
}