IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5af26ba verified
raw
history blame
10.6 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": "4aa72a2fd35e7d46a674935ffaf335b1c0795600",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1010.323456,
"max_global_vram": 897.134592,
"max_process_vram": 205646.057472,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 141,
"total": 0.9955047125816346,
"mean": 0.007060317110508046,
"stdev": 0.00033811657572196106,
"p50": 0.006972475051879883,
"p90": 0.007309754848480224,
"p95": 0.007418715000152588,
"p99": 0.00787839460372925,
"values": [
0.0070502347946166995,
0.007052474021911621,
0.007054234981536865,
0.007170394897460937,
0.00724063491821289,
0.0072414340972900395,
0.007226234912872315,
0.0071855950355529784,
0.007137595176696777,
0.0070804738998413086,
0.007046235084533691,
0.007044314861297607,
0.007021275043487549,
0.006981595039367676,
0.006972475051879883,
0.006935355186462403,
0.006986393928527832,
0.006975514888763428,
0.006995514869689941,
0.0070313549041748045,
0.007008955001831054,
0.007010554790496826,
0.0070020751953125,
0.006982715129852295,
0.007000473976135254,
0.007025595188140869,
0.007043194770812988,
0.007011034965515137,
0.00709551477432251,
0.007056795120239258,
0.0071545538902282714,
0.007018235206604004,
0.007077595233917236,
0.006970874786376953,
0.010400952339172364,
0.007201115131378174,
0.00695519495010376,
0.00689839506149292,
0.006946555137634277,
0.006926555156707764,
0.006980794906616211,
0.0069199948310852055,
0.006916474819183349,
0.006963675022125244,
0.006916154861450195,
0.006904795169830323,
0.006918075084686279,
0.006903995037078858,
0.0069030351638793945,
0.006922874927520752,
0.006930554866790771,
0.00690927505493164,
0.006918234825134277,
0.006899994850158691,
0.006970075130462647,
0.006951835155487061,
0.006932474136352539,
0.0069316749572753905,
0.006941114902496338,
0.006938234806060791,
0.006953915119171142,
0.006927834987640381,
0.006937755107879639,
0.006968315124511719,
0.006903995037078858,
0.006902554988861084,
0.006901434898376465,
0.007579673767089843,
0.006942554950714112,
0.006927834987640381,
0.00692463493347168,
0.006939994812011719,
0.006907515048980713,
0.007165595054626465,
0.006918075084686279,
0.0069459137916564944,
0.006889754772186279,
0.006900794982910156,
0.006964634895324707,
0.006906235218048095,
0.006927674770355225,
0.006926555156707764,
0.006907995223999023,
0.0069316749572753905,
0.006903995037078858,
0.006914714813232422,
0.006937914848327636,
0.006914235115051269,
0.00688639497756958,
0.006909434795379639,
0.0069347147941589355,
0.006902874946594239,
0.006911194801330566,
0.006888635158538818,
0.0069438347816467285,
0.006911035060882568,
0.006900634765625,
0.006917914867401123,
0.00693279504776001,
0.006895355224609375,
0.006925435066223145,
0.006892795085906982,
0.0069199948310852055,
0.006904475212097168,
0.006894235134124756,
0.007087194919586181,
0.007518875122070313,
0.007261754035949707,
0.007305435180664063,
0.0073139147758483885,
0.007358873844146728,
0.007308314800262452,
0.007251355171203613,
0.007585594177246094,
0.007881594181060792,
0.007873595237731934,
0.007585914134979248,
0.007357755184173584,
0.007334874153137207,
0.007417594909667969,
0.007397913932800293,
0.007418715000152588,
0.007309754848480224,
0.006951674938201904,
0.007012474060058594,
0.006985595226287842,
0.007015514850616455,
0.007001275062561035,
0.007011195182800293,
0.006947195053100586,
0.006984475135803222,
0.006984155178070068,
0.006976314067840576,
0.006989435195922851,
0.0070363149642944335,
0.00698191499710083,
0.007021914958953857,
0.007019834995269775,
0.0069967942237854006,
0.006980955123901367,
0.007003513813018799
]
},
"throughput": {
"unit": "samples/s",
"value": 141.63669766499228
},
"energy": null,
"efficiency": null
}
}
}