IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
86b4672 verified
raw
history blame
11.8 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": "4",
"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": 1078.173696,
"max_global_vram": 68702.69952,
"max_process_vram": 49604.8128,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 16.761609375,
"mean": 16.761609375,
"stdev": 0.0,
"p50": 16.761609375,
"p90": 16.761609375,
"p95": 16.761609375,
"p99": 16.761609375,
"values": [
16.761609375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1194.881024,
"max_global_vram": 68702.69952,
"max_process_vram": 255602.176,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 140,
"total": 0.9965242238044736,
"mean": 0.007118030170031956,
"stdev": 0.0013653384851240262,
"p50": 0.0070208611488342286,
"p90": 0.0076546349525451664,
"p95": 0.007803323721885679,
"p99": 0.013423223466873161,
"values": [
0.008032299041748047,
0.007649899005889893,
0.007666540145874023,
0.007912458896636963,
0.007661418914794922,
0.007584139823913574,
0.007604138851165771,
0.007797579765319824,
0.007323821067810058,
0.007140780925750732,
0.007202539920806885,
0.007221100807189941,
0.007180941104888916,
0.007152141094207764,
0.007188139915466308,
0.007198060989379883,
0.007302381038665771,
0.007268781185150146,
0.007424940109252929,
0.0076302199363708495,
0.007277900218963623,
0.007210700988769531,
0.0072913398742675785,
0.007035820960998535,
0.007078381061553955,
0.0074945402145385745,
0.007083341121673584,
0.007051661014556885,
0.013636444091796875,
0.00233583402633667,
0.006474701881408691,
0.007239500999450684,
0.008049899101257325,
0.009021896362304688,
0.007087821006774902,
0.00703662109375,
0.007046541213989258,
0.0072441411018371584,
0.007375979900360107,
0.007095820903778076,
0.00728957986831665,
0.007161740779876709,
0.007129741191864014,
0.007233261108398437,
0.007272779941558838,
0.007260460853576661,
0.007069261074066162,
0.007323500156402588,
0.007206060886383057,
0.007112461090087891,
0.007018701076507568,
0.007064461231231689,
0.007133901119232178,
0.007080941200256347,
0.007003341197967529,
0.006943342208862305,
0.006715662002563476,
0.006745262145996094,
0.0067588620185852055,
0.006733421802520752,
0.006743182182312011,
0.00679246187210083,
0.006751821994781494,
0.006818381786346436,
0.0067900619506835935,
0.0067467021942138675,
0.006773742198944091,
0.006748621940612793,
0.006737261772155762,
0.006773262023925781,
0.006801261901855469,
0.00679406213760376,
0.0070294208526611324,
0.006760461807250977,
0.0067991819381713866,
0.006781102180480957,
0.016764436721801758,
0.0023099141120910644,
0.0022206339836120604,
0.00682318115234375,
0.006731982231140137,
0.006746382236480713,
0.006770862102508545,
0.0067705421447753905,
0.0067734217643737795,
0.0067564620971679685,
0.006759982109069824,
0.0067307019233703615,
0.006735342025756836,
0.006731661796569824,
0.006716783046722412,
0.006723342895507812,
0.006755342006683349,
0.006728141784667969,
0.0067252621650695805,
0.006738701820373535,
0.0069558219909667965,
0.006730862140655517,
0.0067326221466064455,
0.006737421989440918,
0.00672910213470459,
0.006730862140655517,
0.006766382217407226,
0.006795502185821533,
0.006755181789398193,
0.006766061782836914,
0.006740302085876465,
0.00673134183883667,
0.00675422191619873,
0.006724942207336426,
0.006762382030487061,
0.006743981838226319,
0.006747501850128174,
0.0067183818817138675,
0.006753582000732422,
0.00673566198348999,
0.006731661796569824,
0.0067276620864868165,
0.006764461994171142,
0.006755661964416504,
0.006717741966247559,
0.0069289422035217286,
0.0076598191261291505,
0.0076730999946594235,
0.007599658966064453,
0.00764654016494751,
0.007502220153808594,
0.007135021209716797,
0.007136940956115723,
0.007149741172790527,
0.007023021221160889,
0.007043661117553711,
0.00715070104598999,
0.007242859840393067,
0.007654058933258057,
0.007660299777984619,
0.0076769390106201174,
0.0076161398887634275,
0.01308972454071045,
0.006903501033782959
]
},
"throughput": {
"unit": "samples/s",
"value": 140.48830590942978
},
"energy": null,
"efficiency": null
}
}
}