IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e753d46 verified
raw
history blame
11 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": "6",
"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": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1032.654848,
"max_global_vram": 68702.69952,
"max_process_vram": 45683.843072,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 14.200427734375,
"mean": 14.200427734375,
"stdev": 0.0,
"p50": 14.200427734375,
"p90": 14.200427734375,
"p95": 14.200427734375,
"p99": 14.200427734375,
"values": [
14.200427734375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1149.919232,
"max_global_vram": 68702.69952,
"max_process_vram": 224219.160576,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 122,
"total": 0.9953399045467377,
"mean": 0.008158523807760144,
"stdev": 0.0012453671496843836,
"p50": 0.008072498321533204,
"p90": 0.008253460216522217,
"p95": 0.008353706836700439,
"p99": 0.008441189279556274,
"values": [
0.008227218627929687,
0.00814897918701172,
0.008128337860107422,
0.00809025764465332,
0.008096818923950195,
0.008100659370422363,
0.008444179534912109,
0.00820241928100586,
0.008162259101867676,
0.008123858451843262,
0.00810561752319336,
0.008086579322814941,
0.008057458877563477,
0.008059219360351562,
0.008037458419799805,
0.008047219276428222,
0.00805953884124756,
0.008024818420410156,
0.008104819297790528,
0.008076178550720214,
0.00810689926147461,
0.008057778358459472,
0.008055538177490234,
0.00804945945739746,
0.008023219108581543,
0.008051538467407226,
0.008116498947143554,
0.020581647872924803,
0.0024056050777435303,
0.007571218013763428,
0.008111538887023926,
0.008020498275756837,
0.00807873821258545,
0.008028658866882324,
0.008018738746643066,
0.008008498191833496,
0.008020018577575684,
0.008060978889465333,
0.008082258224487304,
0.008067858695983888,
0.008116179466247559,
0.008028338432312012,
0.008070098876953124,
0.008085779190063477,
0.008057458877563477,
0.008072978019714355,
0.008061139106750489,
0.00802721881866455,
0.008122259140014649,
0.008056017875671386,
0.008065459251403808,
0.008024179458618164,
0.00804385757446289,
0.008019858360290528,
0.00807201862335205,
0.00824225902557373,
0.008373780250549316,
0.008352338790893555,
0.008333938598632813,
0.008247380256652831,
0.008218419075012208,
0.008208019256591797,
0.008250578880310059,
0.008353778839111328,
0.008391058921813965,
0.008280818939208984,
0.008257458686828614,
0.008253780364990235,
0.008161778450012208,
0.00810817813873291,
0.008107858657836914,
0.0080648193359375,
0.008102099418640136,
0.008151538848876953,
0.008078577995300294,
0.008069138526916503,
0.008074898719787598,
0.008075058937072754,
0.008064178466796875,
0.00801137924194336,
0.0080681791305542,
0.008024337768554688,
0.008025938987731934,
0.008184979438781739,
0.008429940223693849,
0.008315379142761231,
0.008136018753051758,
0.008149298667907715,
0.008106259346008301,
0.008119378089904785,
0.008045937538146973,
0.008098258972167968,
0.008043059349060059,
0.008034897804260253,
0.008110098838806153,
0.008032979011535645,
0.00806497859954834,
0.008048337936401367,
0.008052179336547852,
0.008092179298400878,
0.008042898178100586,
0.008106738090515138,
0.008353779792785645,
0.008196019172668456,
0.008046419143676757,
0.007996017932891846,
0.008087537765502929,
0.008040658950805664,
0.00805457878112793,
0.00802209758758545,
0.008050739288330078,
0.008095059394836426,
0.008087538719177246,
0.008047698020935058,
0.00805137825012207,
0.008013298988342285,
0.008023537635803223,
0.008038257598876953,
0.008039539337158202,
0.008047698020935058,
0.008026898384094238,
0.008031859397888183
]
},
"throughput": {
"unit": "samples/s",
"value": 122.57119346135018
},
"energy": null,
"efficiency": null
}
}
}