IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fc0e19d verified
raw
history blame
11.7 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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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.4.0",
"optimum_benchmark_commit": "2680e6fb8019f9b6eb6fcaa00b283acdac4d3d3d",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 903.839744,
"max_global_vram": 841.781248,
"max_process_vram": 42872.15616,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.89776611328125,
"mean": 6.89776611328125,
"stdev": 0.0,
"p50": 6.89776611328125,
"p90": 6.89776611328125,
"p95": 6.89776611328125,
"p99": 6.89776611328125,
"values": [
6.89776611328125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1016.107008,
"max_global_vram": 897.10592,
"max_process_vram": 220315.672576,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9364223403930663,
"mean": 0.0064580851061590795,
"stdev": 0.0011207139133783788,
"p50": 0.006668965816497802,
"p90": 0.006903846645355225,
"p95": 0.0069457988739013675,
"p99": 0.0070326660919189455,
"values": [
0.0022088029384613036,
0.00221248197555542,
0.002200321912765503,
0.002192322015762329,
0.0022051219940185545,
0.002167841911315918,
0.002187041997909546,
0.002201442003250122,
0.002190562963485718,
0.0050452837944030765,
0.006946406841278076,
0.006872646808624268,
0.006872326850891113,
0.00690384578704834,
0.006943367004394531,
0.006872966766357422,
0.006855525970458984,
0.006903847217559814,
0.006881607055664062,
0.006924645900726318,
0.006910727024078369,
0.006914886951446533,
0.006923526763916016,
0.006891205787658692,
0.0068785672187805175,
0.006899686813354492,
0.0068976058959960935,
0.006882246971130371,
0.006857286930084228,
0.006865446090698242,
0.00689488697052002,
0.0068809671401977536,
0.0069062461853027345,
0.006890886783599853,
0.006891366958618164,
0.006865446090698242,
0.006887365818023681,
0.008521767616271972,
0.00677968692779541,
0.0066961669921875,
0.006666565895080566,
0.006643366813659668,
0.006654406070709228,
0.006628487110137939,
0.0066432061195373536,
0.006647046089172363,
0.006662406921386719,
0.006682566165924072,
0.006686087131500244,
0.006668645858764649,
0.006644007205963135,
0.006654726028442383,
0.006654887199401855,
0.006649606227874756,
0.006659206867218018,
0.006634885787963867,
0.006642566204071045,
0.006641127109527588,
0.006644805908203125,
0.006650406837463379,
0.006675846099853515,
0.006664806842803955,
0.006687366008758545,
0.006675046920776367,
0.0066798458099365235,
0.006667527198791504,
0.006668965816497802,
0.0066228871345520015,
0.0066676859855651855,
0.006642566204071045,
0.006672805786132813,
0.006660165786743164,
0.006693926811218262,
0.006657125949859619,
0.006649446964263916,
0.006636645793914795,
0.006662086963653564,
0.006638726234436035,
0.0066491270065307615,
0.006639205932617188,
0.006656166076660156,
0.00663520622253418,
0.006662405967712402,
0.00668032693862915,
0.006642886161804199,
0.006634087085723877,
0.0066395258903503415,
0.006630247116088867,
0.006690246105194092,
0.006642406940460205,
0.006663846015930176,
0.006711687088012695,
0.006625926017761231,
0.0068032069206237795,
0.007004965782165527,
0.006952806949615479,
0.006980327129364014,
0.007007846832275391,
0.0070521669387817384,
0.007002406120300293,
0.006854887008666992,
0.006808967113494873,
0.006875205993652344,
0.006741766929626465,
0.006804326057434082,
0.0068009657859802244,
0.006830727100372315,
0.006852806091308594,
0.006845606803894043,
0.006764327049255371,
0.00678752613067627,
0.0068270468711853025,
0.006810726165771485,
0.006720326900482178,
0.006787366867065429,
0.006791845798492431,
0.006654407024383545,
0.006647686004638672,
0.006660165786743164,
0.006643685817718506,
0.006677606105804443,
0.006646407127380371,
0.00675920581817627,
0.006687047004699707,
0.00666144609451294,
0.006656967163085938,
0.00667616605758667,
0.006668966770172119,
0.0066720061302185055,
0.006628807067871094,
0.006623365879058838,
0.00663664722442627,
0.006631206035614014,
0.006684326171875,
0.006669926166534424,
0.006645925998687744,
0.006650246143341064,
0.006636966228485108,
0.006639206886291504,
0.00662704610824585,
0.006642567157745361,
0.006633766174316406,
0.006650406837463379,
0.006634885787963867,
0.006656966209411621
]
},
"throughput": {
"unit": "samples/s",
"value": 154.84466115912585
},
"energy": null,
"efficiency": null
}
}
}