IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8c2f3b2 verified
raw
history blame
11.3 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": "593b48b93d71bee250bc8db76a7279c4b590c2bb",
"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.561792,
"max_global_vram": 3128.385536,
"max_process_vram": 40261.763072,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.04150927734375,
"mean": 7.04150927734375,
"stdev": 0.0,
"p50": 7.04150927734375,
"p90": 7.04150927734375,
"p95": 7.04150927734375,
"p99": 7.04150927734375,
"values": [
7.04150927734375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1016.451072,
"max_global_vram": 3182.956544,
"max_process_vram": 219567.620096,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.997791069507599,
"mean": 0.0073366990404970505,
"stdev": 0.0003711811684324456,
"p50": 0.007191508054733276,
"p90": 0.00760014796257019,
"p95": 0.007748827457427979,
"p99": 0.008046130752563477,
"values": [
0.008047026634216308,
0.0077742280960083005,
0.007743027210235596,
0.007776947975158691,
0.007659028053283692,
0.00751934814453125,
0.007582548141479492,
0.007468788146972656,
0.0076988677978515625,
0.007446708202362061,
0.007506708145141602,
0.007463829040527344,
0.00737470817565918,
0.0073759880065917965,
0.007367989063262939,
0.007448627948760987,
0.007391188144683838,
0.0073599891662597654,
0.007360308170318603,
0.007348787784576416,
0.007382868766784668,
0.007402388095855713,
0.0075887880325317385,
0.0073638281822204586,
0.0074406290054321285,
0.007436148166656494,
0.007550868034362793,
0.007417108058929443,
0.007497908115386963,
0.007552947998046875,
0.00745422887802124,
0.007341268062591552,
0.010852462768554687,
0.007488947868347168,
0.007110229015350342,
0.0070828690528869625,
0.007149588108062744,
0.0071654291152954104,
0.00707806921005249,
0.00717742919921875,
0.007082549095153809,
0.0071139087677001955,
0.00712238883972168,
0.0071935877799987795,
0.007148468971252441,
0.007171669006347656,
0.0071135878562927244,
0.007150868892669678,
0.007136148929595947,
0.007153588771820069,
0.007120469093322754,
0.007145749092102051,
0.007182229042053223,
0.007191028118133545,
0.007151188850402832,
0.007131989002227783,
0.007308948040008545,
0.0071891088485717776,
0.007236628055572509,
0.007152149200439453,
0.007196309089660645,
0.007191987991333007,
0.00717694902420044,
0.007144148826599121,
0.0071319880485534665,
0.0071795091629028324,
0.007115509033203125,
0.007164789199829102,
0.007126547813415527,
0.0074454288482666015,
0.007170867919921875,
0.007210389137268066,
0.007158389091491699,
0.007182068824768066,
0.007151988983154297,
0.007155348777770996,
0.007118068218231201,
0.0071158289909362795,
0.007165749073028565,
0.007157268047332764,
0.007184148788452149,
0.007188629150390625,
0.00716350793838501,
0.007208949089050293,
0.007132789134979248,
0.007171187877655029,
0.007152628898620605,
0.007166069030761718,
0.0071935892105102536,
0.00718126916885376,
0.0071635088920593264,
0.007134708881378174,
0.007088949203491211,
0.007156949043273925,
0.007207189083099365,
0.007197748184204102,
0.007164468765258789,
0.007101589202880859,
0.00713726806640625,
0.007766228199005127,
0.007583668231964111,
0.007611507892608642,
0.007435507774353027,
0.007436149120330811,
0.007432787895202637,
0.007516627788543701,
0.0075607881546020505,
0.007564308166503907,
0.007278708934783935,
0.007112627983093262,
0.007354709148406982,
0.007981427192687988,
0.008044466972351075,
0.007666547775268554,
0.007459828853607178,
0.0075323090553283695,
0.007527348041534424,
0.007554708003997802,
0.0076652679443359375,
0.007639187812805176,
0.007540307998657227,
0.007328628063201904,
0.007165588855743408,
0.007187027931213379,
0.007403988838195801,
0.0071534280776977535,
0.007176148891448975,
0.007175669193267822,
0.007092148780822754,
0.007048627853393555,
0.007127348899841309,
0.007158868789672852,
0.0071439890861511235,
0.007118388175964356,
0.00713070821762085,
0.00711630916595459
]
},
"throughput": {
"unit": "samples/s",
"value": 136.3010796108997
},
"energy": null,
"efficiency": null
}
}
}