IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fafecd2 verified
raw
history blame
10.4 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": "2d3261cf9b992810a685ce736f41254a91cd091e",
"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": 1010.991104,
"max_global_vram": 897.163264,
"max_process_vram": 217795.776512,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9977735772132872,
"mean": 0.007336570420685936,
"stdev": 0.00037636142286642457,
"p50": 0.0072657506465911865,
"p90": 0.007828550100326539,
"p95": 0.007895589828491211,
"p99": 0.008252284860610961,
"values": [
0.008262868881225585,
0.0076827101707458495,
0.007587349891662597,
0.007543350219726562,
0.007638070106506347,
0.007801589965820313,
0.007788469791412353,
0.007846549987792968,
0.007879030227661133,
0.0078105502128601074,
0.0077657499313354495,
0.007735350131988525,
0.007630390167236328,
0.007636789798736572,
0.0076519899368286135,
0.007539830207824707,
0.007268310070037842,
0.0074580698013305665,
0.007490711212158203,
0.007047510147094727,
0.006913590908050537,
0.0070977511405944825,
0.006897750854492187,
0.006932631015777588,
0.0068897509574890135,
0.006691350936889649,
0.006705750942230224,
0.006663991928100586,
0.006894711017608642,
0.00688975191116333,
0.0069179110527038574,
0.006897271156311035,
0.006878231048583984,
0.00694511079788208,
0.006952470779418946,
0.006945271015167237,
0.009185587882995606,
0.008223508834838867,
0.0078055901527404785,
0.007767350196838379,
0.0078105487823486325,
0.007853750228881837,
0.007783030033111572,
0.007445109844207764,
0.007362229824066162,
0.007294230937957764,
0.007744470119476318,
0.0078494291305542,
0.00793375015258789,
0.007863669872283936,
0.007540309906005859,
0.007529910087585449,
0.007499030113220215,
0.007648469924926758,
0.007381909847259521,
0.007469911098480225,
0.007344950199127198,
0.007421269893646241,
0.007369270801544189,
0.007421909809112549,
0.007376629829406739,
0.007475029945373535,
0.007607029914855957,
0.007634870052337647,
0.007421111106872559,
0.007489270210266114,
0.007494229793548584,
0.00823262882232666,
0.007499189853668213,
0.007263191223144531,
0.007158390998840332,
0.007155830860137939,
0.007379350185394287,
0.007487030982971191,
0.007532310009002685,
0.007460470199584961,
0.007062870979309082,
0.007073910236358643,
0.007137590885162353,
0.0073675098419189455,
0.00712143087387085,
0.007093430995941162,
0.0074598298072814945,
0.0071001510620117185,
0.007177750110626221,
0.007092310905456543,
0.0071283111572265625,
0.007056630134582519,
0.0070743908882141115,
0.007074070930480957,
0.007091510772705078,
0.007302711009979248,
0.0070743908882141115,
0.0070563101768493655,
0.007123510837554931,
0.007080310821533203,
0.007116310119628906,
0.007088790893554688,
0.007119511127471924,
0.007079831123352051,
0.007112630844116211,
0.007077110767364502,
0.007090711116790772,
0.0070759902000427245,
0.007008951187133789,
0.0070884709358215335,
0.00710414981842041,
0.0070673508644104,
0.007022871017456055,
0.00703295087814331,
0.007117109775543213,
0.007123351097106934,
0.007080630779266357,
0.007162390232086181,
0.006976951122283936,
0.00701167106628418,
0.0071721510887146,
0.0069958300590515134,
0.0073612709045410155,
0.0069961509704589845,
0.00699822998046875,
0.006994231224060059,
0.007007030963897705,
0.007131831169128418,
0.007067830085754395,
0.006996951103210449,
0.007023830890655517,
0.00701455020904541,
0.007270229816436768,
0.007448310852050781,
0.007489911079406738,
0.007855029106140136,
0.007947830200195313,
0.007888790130615234,
0.00791598892211914,
0.007496630191802979
]
},
"throughput": {
"unit": "samples/s",
"value": 136.3034691496227
},
"energy": null,
"efficiency": null
}
}
}