IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
47e6d3b verified
raw
history blame
10.6 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",
"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": {},
"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": "error",
"numactl": false,
"numactl_kwargs": {},
"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.3.1",
"optimum_benchmark_commit": "3f7b9d2c002cca7024cac52f3c7535f2a03b7b03",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 902.541312,
"max_global_vram": 841.76896,
"max_process_vram": 45661.51168,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.169404296875,
"mean": 7.169404296875,
"stdev": 0.0,
"p50": 7.169404296875,
"p90": 7.169404296875,
"p95": 7.169404296875,
"p99": 7.169404296875,
"values": [
7.169404296875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1016.434688,
"max_global_vram": 897.093632,
"max_process_vram": 234405.445632,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 121,
"total": 1.0001315326690674,
"mean": 0.008265549856769153,
"stdev": 0.00012121514464824936,
"p50": 0.008233892440795898,
"p90": 0.008420452117919922,
"p95": 0.00852493190765381,
"p99": 0.008620642852783203,
"values": [
0.00855101203918457,
0.00845309066772461,
0.008433732032775879,
0.008311171531677247,
0.008379331588745117,
0.00820941162109375,
0.008132613182067872,
0.008134213447570801,
0.008385891914367677,
0.008201892852783204,
0.008333412170410157,
0.008183173179626465,
0.008424612045288086,
0.00837357234954834,
0.008210532188415528,
0.008188933372497558,
0.008173731803894043,
0.008090212821960449,
0.008131333351135254,
0.008111653327941894,
0.008224291801452637,
0.008206372261047363,
0.008172932624816895,
0.008199332237243652,
0.008222533226013183,
0.00817821216583252,
0.008147812843322754,
0.008179012298583985,
0.008242853164672851,
0.008142692565917969,
0.008151493072509765,
0.008185091972351075,
0.00818509292602539,
0.008162531852722168,
0.008173092842102051,
0.008184131622314452,
0.00823741340637207,
0.008175012588500976,
0.008204612731933594,
0.008283013343811036,
0.008270691871643067,
0.00826413345336914,
0.00828989315032959,
0.008141411781311034,
0.00816269302368164,
0.008162531852722168,
0.008354372024536132,
0.008618850708007813,
0.008621090888977051,
0.00852493190765381,
0.008336451530456543,
0.008318853378295899,
0.008410852432250976,
0.008520771980285644,
0.008389890670776367,
0.008323972702026367,
0.008362051963806152,
0.008328131675720215,
0.008385731697082519,
0.008249411582946778,
0.008324611663818359,
0.008307012557983398,
0.008240292549133301,
0.008222851753234863,
0.0081954927444458,
0.008253573417663574,
0.008227811813354493,
0.00817197322845459,
0.008203171730041503,
0.008251332283020019,
0.008355332374572753,
0.008550372123718262,
0.00847245216369629,
0.008346531867980957,
0.008384612083435059,
0.0083366117477417,
0.00828957176208496,
0.008284452438354493,
0.008358052253723144,
0.008263491630554199,
0.008364771842956543,
0.00833933162689209,
0.008420452117919922,
0.008389410972595214,
0.00855437183380127,
0.008724769592285157,
0.008350852012634278,
0.008249412536621094,
0.008245412826538085,
0.008269891738891602,
0.008263812065124512,
0.008211973190307618,
0.008146853446960449,
0.008109573364257813,
0.00815661334991455,
0.008164612770080567,
0.008134693145751952,
0.008174371719360352,
0.008168292999267577,
0.008208771705627442,
0.008213892936706543,
0.00815565299987793,
0.008135493278503419,
0.008139171600341798,
0.00808685302734375,
0.008204771995544433,
0.008212773323059083,
0.008210053443908691,
0.008203811645507812,
0.00816173267364502,
0.008212772369384766,
0.008171012878417969,
0.008195172309875489,
0.008245572090148926,
0.00823853302001953,
0.008233892440795898,
0.008236612319946289,
0.008251012802124024,
0.008203492164611817,
0.00817037296295166,
0.008253252029418946
]
},
"throughput": {
"unit": "samples/s",
"value": 120.98408664016952
},
"energy": null,
"efficiency": null
}
}
}