IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8fd3ede verified
raw
history blame
11.1 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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1043.0464,
"max_global_vram": 68702.69952,
"max_process_vram": 52766.195712,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 17.3869296875,
"mean": 17.3869296875,
"stdev": 0.0,
"p50": 17.3869296875,
"p90": 17.3869296875,
"p95": 17.3869296875,
"p99": 17.3869296875,
"values": [
17.3869296875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1159.86432,
"max_global_vram": 68702.69952,
"max_process_vram": 250958.925824,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 124,
"total": 1.0003729858398438,
"mean": 0.008067524079353579,
"stdev": 0.0007353349239558777,
"p50": 0.007973376512527466,
"p90": 0.008254065608978272,
"p95": 0.008342920970916748,
"p99": 0.008429231729507446,
"values": [
0.008056817054748535,
0.00808161735534668,
0.00818321704864502,
0.008259057998657227,
0.00837073802947998,
0.008298736572265625,
0.00820209789276123,
0.00843537712097168,
0.015834274291992186,
0.006182252883911133,
0.008350418090820313,
0.008154096603393555,
0.008022096633911133,
0.007992016792297362,
0.008018576622009277,
0.007969457149505615,
0.007973936080932617,
0.007938576221466065,
0.007930576801300049,
0.007913456916809083,
0.007971696853637696,
0.007892176151275635,
0.007904496192932129,
0.0079048171043396,
0.00791681718826294,
0.007856016159057616,
0.007869136810302735,
0.007875216960906982,
0.007934735774993897,
0.007997456073760987,
0.007947216987609864,
0.007922417163848876,
0.007922417163848876,
0.007890895843505859,
0.007886576175689696,
0.007885616779327392,
0.00786737585067749,
0.007869135856628419,
0.007869136810302735,
0.007872655868530273,
0.007867216110229492,
0.00789409589767456,
0.00784305715560913,
0.007896656036376954,
0.008110576629638672,
0.008172657012939453,
0.0081920166015625,
0.008042097091674805,
0.008038577079772949,
0.008083697319030761,
0.008111697196960449,
0.008088976860046386,
0.008119537353515624,
0.008150897026062011,
0.008148337364196777,
0.008200496673583984,
0.008066737174987793,
0.007974737167358399,
0.008148337364196777,
0.008337617874145508,
0.008153297424316407,
0.008070096969604493,
0.008057456970214844,
0.00806977653503418,
0.00799489688873291,
0.00810849666595459,
0.008326417922973632,
0.008313937187194824,
0.008343856811523437,
0.008250258445739745,
0.008212817192077638,
0.008238897323608399,
0.00815649700164795,
0.008150897026062011,
0.008355217933654785,
0.008089937210083008,
0.008255697250366211,
0.00819233798980713,
0.008132177352905274,
0.008118897438049317,
0.00807393741607666,
0.008070257186889649,
0.007995697021484375,
0.00795121717453003,
0.007972816944122314,
0.00797521686553955,
0.007844495773315429,
0.007884497165679932,
0.00790369701385498,
0.007859055995941161,
0.007947856903076173,
0.007844976902008057,
0.007864496231079102,
0.007831696987152099,
0.007922097206115723,
0.007841616153717042,
0.007907856941223144,
0.008159696578979492,
0.0081024169921875,
0.008092336654663086,
0.007965137004852295,
0.007924656867980957,
0.007963857173919679,
0.00802769660949707,
0.00785569715499878,
0.007928017139434815,
0.007854735851287842,
0.00788465690612793,
0.007862576961517334,
0.007867216110229492,
0.008408658027648926,
0.007960176944732666,
0.0079048171043396,
0.007893455982208251,
0.007904016971588134,
0.007869136810302735,
0.007863855838775635,
0.007840177059173585,
0.007989936828613282,
0.007901455879211426,
0.00785041618347168,
0.007855856895446777,
0.007808815956115722,
0.007838737010955811
]
},
"throughput": {
"unit": "samples/s",
"value": 123.95376700011366
},
"energy": null,
"efficiency": null
}
}
}