IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
61b9cf7 verified
raw
history blame
11.9 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": "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": "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": 1079.574528,
"max_global_vram": 68702.69952,
"max_process_vram": 46327.537664,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.32968359375,
"mean": 8.32968359375,
"stdev": 0.0,
"p50": 8.32968359375,
"p90": 8.32968359375,
"p95": 8.32968359375,
"p99": 8.32968359375,
"values": [
8.32968359375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.290048,
"max_global_vram": 68702.69952,
"max_process_vram": 230811.910144,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.999687616348266,
"mean": 0.00699082249194592,
"stdev": 0.0005105439566474688,
"p50": 0.006853583812713623,
"p90": 0.0077036940574645996,
"p95": 0.007725597858428955,
"p99": 0.00779531008720398,
"values": [
0.007614703178405762,
0.007330863952636719,
0.0069163041114807125,
0.006881423950195312,
0.006898543834686279,
0.006861265182495117,
0.006850385189056397,
0.007163823127746582,
0.006909264087677002,
0.006859344005584717,
0.006882863998413086,
0.006808944225311279,
0.006812943935394287,
0.006814384937286377,
0.006842545032501221,
0.006837584018707275,
0.0068231840133667,
0.0068001441955566405,
0.006834224224090576,
0.006840303897857666,
0.006846543788909912,
0.00681534481048584,
0.0068055839538574215,
0.00681166410446167,
0.0070916638374328616,
0.006822865009307861,
0.006786384105682373,
0.006791664123535156,
0.006768144130706787,
0.006758065223693848,
0.006773583889007569,
0.006809103965759278,
0.006765425205230713,
0.006773745059967041,
0.006955344200134278,
0.006774864196777344,
0.006818543910980224,
0.006789743900299072,
0.006788304805755615,
0.006773105144500732,
0.006787185192108154,
0.006785103797912598,
0.006794703960418701,
0.006767183780670166,
0.006800145149230957,
0.006765744209289551,
0.0067999839782714845,
0.006820144176483155,
0.006814544200897217,
0.006838544845581055,
0.006857744216918945,
0.0068166241645812985,
0.006876944065093994,
0.006861104011535645,
0.006888304233551025,
0.006867504119873047,
0.0069711837768554686,
0.006876304149627686,
0.0069139041900634765,
0.006906223773956299,
0.006874063968658447,
0.006872303962707519,
0.006862063884735107,
0.006925424098968506,
0.0068233442306518555,
0.00684062385559082,
0.006909584045410156,
0.0068551840782165524,
0.006861264228820801,
0.006886864185333252,
0.006870863914489746,
0.006857264041900635,
0.006883344173431396,
0.00689566421508789,
0.006891823768615722,
0.006867023944854736,
0.006875184059143067,
0.006859983921051025,
0.006886384010314941,
0.006866543769836426,
0.00688478422164917,
0.006863024234771729,
0.006877744197845459,
0.010914375305175781,
0.004094389915466309,
0.00683982515335083,
0.0068414249420166015,
0.006796463966369629,
0.006812464237213134,
0.006812464237213134,
0.006798863887786865,
0.006794545173645019,
0.0068219051361083985,
0.0067932639122009275,
0.006821104049682617,
0.006796783924102783,
0.00684446382522583,
0.006809104919433593,
0.006871184825897217,
0.006812465190887451,
0.006835023880004883,
0.00676862382888794,
0.006809904098510742,
0.0068268637657165525,
0.0068001441955566405,
0.006803184032440185,
0.0068132648468017575,
0.00681166410446167,
0.006835343837738037,
0.0068231840133667,
0.006853583812713623,
0.006832464218139649,
0.006863183975219726,
0.00685038423538208,
0.006872303962707519,
0.006816305160522461,
0.006847344875335694,
0.006817264080047607,
0.007226862907409668,
0.0075833420753479005,
0.007724301815032959,
0.0077257418632507326,
0.007712462902069092,
0.0077262229919433595,
0.007753902912139892,
0.0075561428070068356,
0.007724142074584961,
0.007683822154998779,
0.007717902183532715,
0.0077044620513916015,
0.007799342155456543,
0.007755661964416504,
0.007776941776275635,
0.007789741992950439,
0.00770670223236084,
0.007700622081756592,
0.007714701175689697,
0.007486223220825195,
0.0072614231109619145,
0.00724750280380249,
0.007199022769927978,
0.007152304172515869,
0.007300783157348633
]
},
"throughput": {
"unit": "samples/s",
"value": 143.04468482100546
},
"energy": null,
"efficiency": null
}
}
}