IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e1dd652 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": 1078.685696,
"max_global_vram": 68702.69952,
"max_process_vram": 47110.3488,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2197275390625,
"mean": 8.2197275390625,
"stdev": 0.0,
"p50": 8.2197275390625,
"p90": 8.2197275390625,
"p95": 8.2197275390625,
"p99": 8.2197275390625,
"values": [
8.2197275390625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1195.769856,
"max_global_vram": 68702.69952,
"max_process_vram": 201183.940608,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 142,
"total": 0.999758348464966,
"mean": 0.007040551749753279,
"stdev": 0.00036237007236361135,
"p50": 0.006904222965240479,
"p90": 0.007409710121154785,
"p95": 0.007547637939453125,
"p99": 0.007837750272750854,
"values": [
0.007544140815734863,
0.007395021915435791,
0.007135342121124268,
0.007075822830200195,
0.007085103034973145,
0.007106701850891114,
0.007172781944274903,
0.0073307018280029295,
0.007155982971191406,
0.007130541801452637,
0.007118382930755615,
0.007104621887207031,
0.007160782814025879,
0.007106863021850586,
0.007106382846832276,
0.007061102867126465,
0.007024302959442139,
0.007001903057098389,
0.0103041353225708,
0.007114542961120606,
0.006872303009033203,
0.006867662906646728,
0.006896142959594727,
0.00687470293045044,
0.006859023094177246,
0.0068516631126403806,
0.0068516631126403806,
0.006872303009033203,
0.006892622947692871,
0.006857422828674317,
0.006852784156799316,
0.006912463188171387,
0.006884624004364013,
0.006872783184051514,
0.006887342929840088,
0.006882062911987305,
0.006875342845916748,
0.006902543067932129,
0.006893103122711182,
0.006886383056640625,
0.006887503147125244,
0.006880622863769531,
0.006895183086395263,
0.0068593430519104,
0.006874543190002441,
0.006815022945404052,
0.0068423829078674316,
0.006862223148345947,
0.006871663093566895,
0.006862062931060791,
0.006868144035339355,
0.006846704006195068,
0.006889903068542481,
0.006898383140563965,
0.006896623134613037,
0.006885743141174317,
0.006895983219146728,
0.006883183002471924,
0.006987022876739502,
0.006832943916320801,
0.006899662971496582,
0.006880463123321533,
0.0068779029846191405,
0.006894863128662109,
0.006886703014373779,
0.006898542881011963,
0.0069023828506469724,
0.0069561429023742676,
0.006869422912597656,
0.006945743083953858,
0.006926063060760498,
0.006912942886352539,
0.006904782772064209,
0.00688334321975708,
0.006908943176269531,
0.006899023056030273,
0.0068883028030395504,
0.006883983135223389,
0.006917102813720703,
0.006922223091125488,
0.0069241437911987305,
0.006906383037567139,
0.0069036631584167485,
0.006913103103637695,
0.006935183048248291,
0.006888943195343018,
0.006903343200683594,
0.006910542964935303,
0.006917102813720703,
0.006888143062591553,
0.006918703079223633,
0.006914062976837158,
0.006897263050079346,
0.0068761429786682125,
0.006893902778625488,
0.006920463085174561,
0.006895983219146728,
0.006884462833404541,
0.006889903068542481,
0.0068967828750610355,
0.006924942970275879,
0.006908782958984375,
0.006927823066711426,
0.006921422958374023,
0.006820783138275146,
0.006923343181610107,
0.006900622844696045,
0.006877742767333985,
0.006892463207244873,
0.006847982883453369,
0.006940463066101074,
0.006899023056030273,
0.006920622825622559,
0.0068950228691101074,
0.006930862903594971,
0.0068798232078552245,
0.006930703163146972,
0.006893423080444336,
0.006860143184661866,
0.006905582904815674,
0.007516461849212647,
0.007806220054626465,
0.007789421081542969,
0.007859661102294921,
0.007411342144012451,
0.007260622978210449,
0.007289422035217285,
0.007362061977386474,
0.007485581874847412,
0.0075478219985961915,
0.00749166202545166,
0.007537261009216308,
0.007761580944061279,
0.007751980781555176,
0.007739181041717529,
0.007172942161560059,
0.007131342887878418,
0.007210542201995849,
0.007258701801300049,
0.00721422290802002,
0.007267982959747315,
0.0074387011528015134
]
},
"throughput": {
"unit": "samples/s",
"value": 142.03432281213512
},
"energy": null,
"efficiency": null
}
}
}