IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
024a878 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "5",
"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.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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": 907.63264,
"max_global_vram": 841.85088,
"max_process_vram": 44611.792896,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.54670849609375,
"mean": 7.54670849609375,
"stdev": 0.0,
"p50": 7.54670849609375,
"p90": 7.54670849609375,
"p95": 7.54670849609375,
"p99": 7.54670849609375,
"values": [
7.54670849609375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.413056,
"max_global_vram": 898.3552,
"max_process_vram": 223990.059008,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 135,
"total": 1.0009543929100042,
"mean": 0.007414476984518546,
"stdev": 0.0009657481983936656,
"p50": 0.0070947051048278805,
"p90": 0.007904783630371094,
"p95": 0.008024624347686768,
"p99": 0.009837038707733147,
"values": [
0.008122543334960937,
0.007870543956756591,
0.007616623878479004,
0.007539024829864502,
0.007529904842376709,
0.0074899039268493655,
0.007536623954772949,
0.008410701751708985,
0.007554384231567382,
0.0075596637725830074,
0.007496623992919922,
0.007497424125671386,
0.007506064891815186,
0.007526224136352539,
0.0075940642356872555,
0.007586863994598389,
0.007661582946777344,
0.017373723983764647,
0.006354065895080566,
0.007604623794555664,
0.007601583957672119,
0.007630064010620117,
0.010571818351745605,
0.007976462841033935,
0.007089264869689941,
0.007062385082244873,
0.007573584079742432,
0.007547183990478516,
0.007336463928222656,
0.007274065017700195,
0.007172464847564697,
0.007235504150390625,
0.007090065002441406,
0.007054224967956543,
0.0070345458984375,
0.00727870512008667,
0.007027504920959472,
0.00704510498046875,
0.007031025886535644,
0.0070577459335327145,
0.007048464775085449,
0.00706798505783081,
0.007084624767303467,
0.007048624992370606,
0.00705358600616455,
0.007011024951934814,
0.007066545963287353,
0.007034706115722656,
0.007063024997711181,
0.00702654504776001,
0.007076465129852295,
0.007058385848999023,
0.007048624992370606,
0.007041745185852051,
0.007055025100708007,
0.007059825897216797,
0.007054705142974854,
0.007045265197753906,
0.007038704872131348,
0.0070947051048278805,
0.007070226192474365,
0.007039344787597656,
0.007043984889984131,
0.0070708651542663575,
0.007095505237579345,
0.007089426040649414,
0.007083185195922851,
0.0070641450881958005,
0.00710078477859497,
0.007090065002441406,
0.007033105850219727,
0.007047346115112305,
0.007066864967346192,
0.007035504817962646,
0.007055665016174316,
0.007029585838317871,
0.007045905113220215,
0.0070358247756958005,
0.007057425022125244,
0.007070065975189209,
0.007045585155487061,
0.00702702522277832,
0.007041584968566894,
0.007067666053771972,
0.007024785041809082,
0.007045905113220215,
0.007046864986419678,
0.007049106121063233,
0.0070236649513244626,
0.007030704975128174,
0.007065744876861573,
0.00704702615737915,
0.007045745849609375,
0.0070351848602294926,
0.007066705226898193,
0.007077105045318603,
0.007603664875030517,
0.008026864051818848,
0.008115182876586914,
0.007654064178466797,
0.00764686393737793,
0.00762062406539917,
0.00785502290725708,
0.008022223472595215,
0.007917263984680175,
0.007667664051055908,
0.007588943958282471,
0.00747486400604248,
0.007975663185119629,
0.00802126407623291,
0.00797486400604248,
0.007559343814849854,
0.007598383903503418,
0.0074734239578247074,
0.007397584915161133,
0.007347024917602539,
0.007311025142669678,
0.007363504886627197,
0.007412623882293701,
0.007394545078277588,
0.007886063098907471,
0.008071983337402344,
0.008023664474487305,
0.007516465187072754,
0.007423024177551269,
0.007512625217437744,
0.007369424819946289,
0.007375504970550537,
0.007427023887634277,
0.007436464786529541,
0.0074505448341369625,
0.007064785003662109,
0.0070726251602172855,
0.007059025764465332,
0.007077906131744385
]
},
"throughput": {
"unit": "samples/s",
"value": 134.87127980678926
},
"energy": null,
"efficiency": null
}
}
}