IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d556467 verified
raw
history blame
12 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": 2,
"sequence_length": 16,
"num_choices": 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": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1109.884928,
"max_global_vram": 68702.69952,
"max_process_vram": 4660.71552,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.10286284637451172
],
"count": 1,
"total": 0.10286284637451172,
"mean": 0.10286284637451172,
"p50": 0.10286284637451172,
"p90": 0.10286284637451172,
"p95": 0.10286284637451172,
"p99": 0.10286284637451172,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1227.091968,
"max_global_vram": 68702.69952,
"max_process_vram": 221877.256192,
"max_reserved": 555.74528,
"max_allocated": 500.456448
},
"latency": {
"unit": "s",
"values": [
0.007607985973358154,
0.007229745864868164,
0.007037106990814209,
0.007081266880035401,
0.007007027149200439,
0.0069511871337890625,
0.007002707004547119,
0.006994546890258789,
0.007007027149200439,
0.0070006270408630375,
0.0070006270408630375,
0.007016787052154541,
0.007010547161102295,
0.006949906826019287,
0.006991026878356933,
0.00706238603591919,
0.007066067218780518,
0.0070006270408630375,
0.0070415868759155275,
0.0070151867866516116,
0.007051667213439941,
0.007054707050323486,
0.006999186992645264,
0.007021586894989013,
0.007035185813903808,
0.007038066864013672,
0.007018386840820312,
0.0070771069526672364,
0.007043346881866455,
0.0069891071319580075,
0.006999506950378418,
0.007016946792602539,
0.007070866107940674,
0.007027347087860108,
0.0070507068634033205,
0.007069587230682373,
0.007052466869354248,
0.007031667232513428,
0.007018547058105468,
0.007015666961669922,
0.007030066967010498,
0.0070294270515441895,
0.007020307064056396,
0.007043827056884766,
0.0070361471176147465,
0.007014067173004151,
0.007231185913085938,
0.007047826766967773,
0.0070551872253417965,
0.007043827056884766,
0.007059826850891114,
0.00705182695388794,
0.007061746120452881,
0.007054387092590332,
0.007029586791992187,
0.007076626777648926,
0.0070599870681762695,
0.007030706882476806,
0.007009586811065674,
0.007055507183074951,
0.007027027130126953,
0.007028787136077881,
0.007022226810455322,
0.007047826766967773,
0.007011346817016602,
0.006994546890258789,
0.0069950270652771,
0.0070532670021057125,
0.0070415868759155275,
0.007034706115722656,
0.007000466823577881,
0.00704414701461792,
0.007222706794738769,
0.00789774513244629,
0.007898544788360596,
0.007945584774017333,
0.008016305923461914,
0.007573585987091064,
0.007554386138916016,
0.007461105823516846,
0.007468145847320556,
0.007475506782531738,
0.007433746814727783,
0.007474065780639649,
0.007391985893249512,
0.007445106029510498,
0.007438385963439941,
0.007547185897827148,
0.007560626029968261,
0.0075292658805847165,
0.007574865818023682,
0.007309586048126221,
0.00701358699798584,
0.007028787136077881,
0.007061906814575195,
0.0070081467628479,
0.0070508670806884765,
0.007052786827087402,
0.007035186767578125,
0.0070556669235229495,
0.007074866771697998,
0.00704414701461792,
0.007022867202758789,
0.0070673470497131345,
0.007071026802062988,
0.007067186832427979,
0.007046707153320312,
0.007053906917572021,
0.00703214693069458,
0.007016467094421387,
0.007030867099761963,
0.007064146995544434,
0.007043187141418457,
0.00702782678604126,
0.007054226875305176,
0.007053586959838867,
0.007072465896606445,
0.007075187206268311,
0.007352466106414795,
0.007342387199401856,
0.007348626136779785,
0.007038227081298828,
0.007013106822967529,
0.007015507221221923,
0.007043026924133301,
0.007026866912841797,
0.00703598690032959,
0.007093906879425049,
0.007059347152709961,
0.006998386859893799,
0.0070207867622375485,
0.007095026969909668,
0.007067825794219971,
0.007021427154541016,
0.0070582270622253414,
0.00708142614364624,
0.007081906795501709,
0.007078386783599853,
0.007040306091308594,
0.007048306941986084
],
"count": 140,
"total": 0.9975032620429996,
"mean": 0.007125023300307138,
"p50": 0.007047266960144042,
"p90": 0.007461809825897217,
"p95": 0.007561274027824401,
"p99": 0.007927239179611205,
"stdev": 0.00020788002856180022,
"stdev_": 2.9176048947494553
},
"throughput": {
"unit": "samples/s",
"value": 280.7008364328838
},
"energy": null,
"efficiency": null
}
}
}