IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
396861e verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "5",
"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": 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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"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": 1041.96096,
"max_global_vram": 68702.69952,
"max_process_vram": 47222.341632,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 12.1803720703125,
"mean": 12.1803720703125,
"stdev": 0.0,
"p50": 12.1803720703125,
"p90": 12.1803720703125,
"p95": 12.1803720703125,
"p99": 12.1803720703125,
"values": [
12.1803720703125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1158.94272,
"max_global_vram": 68702.69952,
"max_process_vram": 261767.532544,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 123,
"total": 0.9982160813808436,
"mean": 0.008115577897405237,
"stdev": 0.0032899630196514484,
"p50": 0.008003822326660156,
"p90": 0.008304204750061035,
"p95": 0.008550555610656738,
"p99": 0.017931759643554698,
"values": [
0.008213260650634765,
0.008308140754699708,
0.008439499855041504,
0.008233580589294433,
0.00814318084716797,
0.008109101295471191,
0.008069421768188477,
0.008380780220031738,
0.008196141242980957,
0.008251020431518555,
0.008115341186523437,
0.008046221733093262,
0.008141261100769043,
0.009677257537841797,
0.008267980575561523,
0.008049901962280273,
0.008006860733032226,
0.007920300960540772,
0.007927661895751953,
0.007958701133728027,
0.008079501152038574,
0.008006861686706543,
0.03923622894287109,
0.0023652749061584474,
0.0025031940937042235,
0.002256633996963501,
0.0024265549182891847,
0.0023111939430236817,
0.006659345149993896,
0.00790670108795166,
0.007919342041015624,
0.007844621181488038,
0.007895661830902099,
0.007847342014312744,
0.007858222007751464,
0.007975341796875,
0.007944941997528076,
0.007857101917266846,
0.007969101905822755,
0.007936301231384278,
0.008024781227111817,
0.00787102222442627,
0.00814318084716797,
0.007928141117095947,
0.007875661849975586,
0.007972301006317139,
0.007945900917053222,
0.007920301914215088,
0.00795534086227417,
0.007926221847534179,
0.008015341758728027,
0.007975660800933837,
0.0079305419921875,
0.007889262199401855,
0.008112940788269043,
0.008071181297302246,
0.008001420974731445,
0.008003822326660156,
0.008019981384277343,
0.008117581367492676,
0.00801486110687256,
0.008039501190185547,
0.008099660873413086,
0.00855165958404541,
0.008028781890869141,
0.008097742080688477,
0.007928940773010254,
0.007928781986236573,
0.007939981937408446,
0.007938220977783203,
0.007923982143402099,
0.007898860931396485,
0.008069741249084472,
0.008013742446899414,
0.007986701011657715,
0.020259952545166014,
0.0024014339447021482,
0.005371986865997314,
0.008817099571228027,
0.008540619850158691,
0.008393420219421386,
0.008195341110229492,
0.008200461387634278,
0.00817806053161621,
0.008098702430725097,
0.008128461837768554,
0.00822606086730957,
0.00816654109954834,
0.008288460731506348,
0.008118380546569824,
0.008028461456298827,
0.008008621215820312,
0.008098060607910157,
0.008110220909118653,
0.008395021438598632,
0.00811390209197998,
0.007985422134399414,
0.008125741004943848,
0.007981581211090088,
0.00795918083190918,
0.007911342144012451,
0.00798974084854126,
0.007980621814727784,
0.008268621444702149,
0.008739660263061524,
0.009272137641906738,
0.008180940628051758,
0.007823822021484374,
0.008163661003112792,
0.007851821899414062,
0.007850061893463135,
0.007867660999298096,
0.007804622173309326,
0.007822862148284912,
0.008195500373840332,
0.007863020896911621,
0.007820462226867676,
0.007889420986175536,
0.00791582202911377,
0.007810542106628418,
0.007817262172698975,
0.007941741943359375,
0.007826702117919922
]
},
"throughput": {
"unit": "samples/s",
"value": 123.21981412065875
},
"energy": null,
"efficiency": null
}
}
}