IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c5474f2 verified
raw
history blame
12.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 763.977728,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.43185595703125,
"mean": 7.43185595703125,
"stdev": 0.0,
"p50": 7.43185595703125,
"p90": 7.43185595703125,
"p95": 7.43185595703125,
"p99": 7.43185595703125,
"values": [
7.43185595703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0812746111113825e-06,
"ram": 5.769582606787481e-07,
"gpu": 1.8080570020001865e-06,
"total": 3.4662898737903175e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 957.607936,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 155,
"total": 0.9967947182655336,
"mean": 0.006430933666229248,
"stdev": 0.00016345427445281139,
"p50": 0.006481919765472412,
"p90": 0.0065777663230896,
"p95": 0.006638899040222168,
"p99": 0.006779262695312501,
"values": [
0.006667263984680176,
0.006532095909118653,
0.006556672096252441,
0.006552639961242676,
0.006499328136444092,
0.006536191940307618,
0.006554624080657959,
0.006495264053344727,
0.006564864158630371,
0.0065136637687683106,
0.006481919765472412,
0.006592512130737305,
0.006545407772064209,
0.006484928131103515,
0.006425600051879882,
0.006404096126556396,
0.006516736030578613,
0.0064880638122558594,
0.006503456115722657,
0.006526976108551025,
0.0065075201988220215,
0.006509568214416504,
0.006492159843444824,
0.0064440321922302245,
0.006499328136444092,
0.006558784008026123,
0.006485983848571777,
0.006565887928009034,
0.006552576065063476,
0.006512639999389648,
0.006550528049468994,
0.006509568214416504,
0.006482944011688232,
0.006519807815551758,
0.006481919765472412,
0.0065382399559021,
0.006620160102844238,
0.0064430079460144046,
0.006449151992797852,
0.006485055923461914,
0.006451200008392334,
0.006481919765472412,
0.006459392070770263,
0.006504447937011719,
0.0065771517753601075,
0.0065781760215759275,
0.006574079990386963,
0.0065812478065490725,
0.0065157442092895505,
0.006526976108551025,
0.006467584133148193,
0.006493184089660644,
0.006562816143035889,
0.006559743881225586,
0.006440959930419922,
0.006495232105255127,
0.006463488101959228,
0.0064542717933654785,
0.006405119895935059,
0.006562816143035889,
0.006492159843444824,
0.006494207859039307,
0.006564864158630371,
0.006461503982543945,
0.00643993616104126,
0.006487040042877197,
0.006520832061767578,
0.006453248023986816,
0.006468607902526856,
0.006525951862335205,
0.006449151992797852,
0.006552608013153076,
0.006591487884521485,
0.006535168170928955,
0.006559743881225586,
0.006554624080657959,
0.006515711784362793,
0.0065443840026855465,
0.006482944011688232,
0.006516736030578613,
0.0064849920272827145,
0.006497280120849609,
0.006503424167633057,
0.006468607902526856,
0.006345727920532227,
0.006273024082183838,
0.006432767868041992,
0.00642252779006958,
0.006306816101074219,
0.006097919940948486,
0.006130688190460205,
0.006119423866271972,
0.006206463813781738,
0.006385663986206055,
0.006638591766357422,
0.006639616012573242,
0.006648831844329834,
0.0066979842185974124,
0.006850560188293457,
0.006553567886352539,
0.0064204797744750975,
0.006469632148742676,
0.006308864116668702,
0.006475776195526123,
0.006309855937957764,
0.006498303890228272,
0.006371327877044678,
0.006300672054290772,
0.006377471923828125,
0.006312960147857666,
0.006401023864746094,
0.006388735771179199,
0.006378496170043945,
0.006337535858154297,
0.00638156795501709,
0.006340608119964599,
0.006718527793884277,
0.006660096168518067,
0.007004159927368164,
0.006394879817962646,
0.006321216106414795,
0.006358016014099121,
0.006589439868927002,
0.00658739185333252,
0.006407167911529541,
0.0062904319763183595,
0.006327263832092285,
0.006478847980499268,
0.006305791854858398,
0.006288383960723877,
0.00626585578918457,
0.006298624038696289,
0.006312960147857666,
0.006276095867156982,
0.006331391811370849,
0.006275072097778321,
0.0063211522102355954,
0.006251552104949951,
0.006112256050109863,
0.006096896171569824,
0.006097919940948486,
0.0062044157981872555,
0.006085631847381592,
0.006110208034515381,
0.006067200183868408,
0.006109183788299561,
0.006100992202758789,
0.006169600009918213,
0.0060702719688415525,
0.00622489595413208,
0.006077439785003662,
0.006102015972137451,
0.006102015972137451,
0.006085631847381592,
0.006118400096893311
]
},
"throughput": {
"unit": "samples/s",
"value": 155.49841623329104
},
"energy": {
"unit": "kWh",
"cpu": 7.376790861801248e-08,
"ram": 4.0330890486709225e-08,
"gpu": 1.4169093460869322e-07,
"total": 2.5578973371341496e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3909461.0463154595
}
}
}
}