IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8e9a2b3 verified
raw
history blame
10.9 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",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "0",
"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.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.3.1",
"optimum_benchmark_commit": "8bf68d01ce920e01ece8935a1cc6d7e3f17c2d2b",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 902.520832,
"max_global_vram": 841.76896,
"max_process_vram": 42782.785536,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.95218408203125,
"mean": 6.95218408203125,
"stdev": 0.0,
"p50": 6.95218408203125,
"p90": 6.95218408203125,
"p95": 6.95218408203125,
"p99": 6.95218408203125,
"values": [
6.95218408203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1016.406016,
"max_global_vram": 896.946176,
"max_process_vram": 227328.823296,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 128,
"total": 0.9987929129600521,
"mean": 0.007803069632500411,
"stdev": 0.00043311751243425264,
"p50": 0.007816027164459229,
"p90": 0.008109049129486083,
"p95": 0.008217168188095092,
"p99": 0.00893697467803955,
"values": [
0.00812746524810791,
0.008130185127258301,
0.008174024581909179,
0.008212903976440429,
0.008219464302062988,
0.008068264961242676,
0.008130024909973145,
0.008068585395812988,
0.008110505104064941,
0.00795258617401123,
0.007910185813903809,
0.00788282585144043,
0.0078285870552063,
0.007793227195739746,
0.007793867111206055,
0.007775466918945312,
0.007796106815338134,
0.007806188106536866,
0.007815627098083497,
0.0077524280548095705,
0.007762187957763672,
0.00774810791015625,
0.007802348136901855,
0.007764907836914062,
0.007816427230834961,
0.007782826900482178,
0.007803627014160156,
0.007798186779022217,
0.007761386871337891,
0.007760907173156738,
0.007768267154693603,
0.007722668170928955,
0.0077437877655029295,
0.007736746788024902,
0.0077538671493530276,
0.0077290678024291995,
0.0077530679702758785,
0.007741066932678222,
0.00774826717376709,
0.007739307880401611,
0.007778828144073486,
0.007776587963104248,
0.007751626968383789,
0.0078065071105957035,
0.00782314682006836,
0.00782698678970337,
0.007834187030792236,
0.00778106689453125,
0.007786026954650879,
0.007783146858215332,
0.007836266994476319,
0.007782186985015869,
0.00789530611038208,
0.007903946876525878,
0.010722807884216309,
0.008342984199523926,
0.008066665649414063,
0.008057386398315429,
0.008636422157287597,
0.008331783294677734,
0.00898617935180664,
0.008803939819335938,
0.008108425140380859,
0.00797466516494751,
0.007919307231903077,
0.007923787117004394,
0.007949066162109376,
0.007922185897827148,
0.007954505920410157,
0.00792202615737915,
0.007918665885925293,
0.00794554615020752,
0.00793082618713379,
0.007995145797729492,
0.007957066059112549,
0.007956265926361084,
0.007883946895599365,
0.007803146839141846,
0.007929865837097167,
0.007873706817626953,
0.007927466869354248,
0.00791098690032959,
0.007859466075897216,
0.007661548137664795,
0.007941065788269043,
0.0077612271308898926,
0.007542509078979492,
0.007063952922821045,
0.007050033092498779,
0.007014352798461914,
0.0070629920959472655,
0.007095312118530274,
0.007353710174560547,
0.00735467004776001,
0.007465388774871826,
0.0074690690040588375,
0.007499148845672607,
0.007479948997497559,
0.007847146987915039,
0.008014824867248535,
0.007978506088256836,
0.007967946052551269,
0.008019625663757324,
0.008014185905456543,
0.007974986076354981,
0.008020105361938477,
0.008051305770874024,
0.008014025688171387,
0.008001544952392577,
0.007988105773925782,
0.008022985458374023,
0.007886826992034912,
0.00762778902053833,
0.0074297099113464354,
0.00782474708557129,
0.007196431159973145,
0.007097230911254883,
0.007105552196502686,
0.007147311210632324,
0.0071669921875,
0.007174191951751709,
0.007134511947631836,
0.007171791076660156,
0.007082191944122315,
0.0071409111022949215,
0.0071853909492492676,
0.007110671043395996,
0.007114831924438477
]
},
"throughput": {
"unit": "samples/s",
"value": 128.154693870079
},
"energy": null,
"efficiency": null
}
}
}