IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9eeb7b8 verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+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": 955.22816,
"max_global_vram": 68702.69952,
"max_process_vram": 51843.87072,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 15.95605078125,
"mean": 15.95605078125,
"stdev": 0.0,
"p50": 15.95605078125,
"p90": 15.95605078125,
"p95": 15.95605078125,
"p99": 15.95605078125,
"values": [
15.95605078125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.138624,
"max_global_vram": 68702.69952,
"max_process_vram": 262232.612864,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 126,
"total": 1.000266735076904,
"mean": 0.007938624881562733,
"stdev": 0.0007406366213634162,
"p50": 0.0078113720417022706,
"p90": 0.008215053081512451,
"p95": 0.008335974216461182,
"p99": 0.008550613403320311,
"values": [
0.008276653289794923,
0.008405293464660644,
0.008415854454040528,
0.00832209300994873,
0.008174413681030274,
0.008132332801818848,
0.008243533134460449,
0.008192012786865235,
0.008330574035644531,
0.008046253204345703,
0.00797121286392212,
0.007923852920532227,
0.007897613048553466,
0.007846412181854247,
0.007929933071136475,
0.007951693058013916,
0.007866413116455077,
0.00782289218902588,
0.007847852230072021,
0.007880173206329345,
0.00776433277130127,
0.007761291980743408,
0.007751052856445313,
0.007868813037872315,
0.008034253120422363,
0.008063693046569825,
0.008006893157958984,
0.007910572052001952,
0.007981132030487061,
0.008066892623901367,
0.007920172214508057,
0.00802241325378418,
0.007964813232421875,
0.00819985294342041,
0.008216012954711914,
0.0158320255279541,
0.0071710519790649414,
0.008007372856140137,
0.00779345178604126,
0.007900012969970702,
0.007783533096313477,
0.007681612014770508,
0.007682892799377441,
0.007636171817779541,
0.007650413036346435,
0.00770225191116333,
0.007668333053588867,
0.007694252014160156,
0.007652012825012207,
0.007807211875915527,
0.007788652896881103,
0.007739852905273437,
0.007689452171325684,
0.0076662530899047855,
0.007690892219543457,
0.007617772102355957,
0.0076371321678161625,
0.007643052101135254,
0.007689292907714844,
0.00768801212310791,
0.007703853130340576,
0.007639852046966553,
0.007680333137512207,
0.008000013351440429,
0.008017132759094239,
0.007760811805725098,
0.0077459321022033695,
0.007776493072509765,
0.0077038521766662595,
0.00770097303390503,
0.007945612907409668,
0.007792811870574951,
0.007691052913665772,
0.007842732906341552,
0.007701772212982178,
0.0076424131393432616,
0.007812171936035156,
0.007760813236236572,
0.007760653018951416,
0.007654091835021973,
0.007678892135620117,
0.007742732048034668,
0.008115853309631348,
0.007895533084869386,
0.00785697317123413,
0.0077140917778015135,
0.007770092010498047,
0.0076564931869506836,
0.0076664118766784665,
0.007660652160644531,
0.007759851932525635,
0.007806413173675537,
0.007810572147369385,
0.007660171985626221,
0.007616971969604492,
0.0076667327880859375,
0.007707851886749268,
0.007784012794494629,
0.00773857307434082,
0.007664651870727539,
0.007914412975311279,
0.0077188930511474605,
0.007771532058715821,
0.008234573364257812,
0.007972332000732421,
0.007785131931304931,
0.007720653057098389,
0.00792689323425293,
0.007835371971130371,
0.008031533241271973,
0.008084974288940429,
0.00808353328704834,
0.007859692096710206,
0.00794353199005127,
0.008139694213867187,
0.007902573108673096,
0.00782497215270996,
0.007780972957611084,
0.00775441312789917,
0.008063372611999511,
0.008017132759094239,
0.008214093208312989,
0.0083377742767334,
0.008561293601989746,
0.008518572807312011,
0.008439693450927734
]
},
"throughput": {
"unit": "samples/s",
"value": 125.96640034251728
},
"energy": null,
"efficiency": null
}
}
}