IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
39044cf verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.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": 799.051776,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.03694921875,
"mean": 8.03694921875,
"stdev": 0.0,
"p50": 8.03694921875,
"p90": 8.03694921875,
"p95": 8.03694921875,
"p99": 8.03694921875,
"values": [
8.03694921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.511071759028107e-06,
"ram": 1.3569368880010305e-06,
"gpu": 3.2861137399999713e-06,
"total": 7.154122387029108e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1088.90112,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 150,
"total": 0.997779420375824,
"mean": 0.006651862802505492,
"stdev": 0.00029471991877067557,
"p50": 0.006668287992477416,
"p90": 0.006914764976501464,
"p95": 0.00697406895160675,
"p99": 0.008035297069549559,
"values": [
0.0069918718338012695,
0.0069550080299377445,
0.006914048194885254,
0.006985727787017822,
0.006952960014343262,
0.006979584217071533,
0.006889472007751465,
0.00689356803894043,
0.006967328071594238,
0.006773759841918945,
0.006669312000274658,
0.00667852783203125,
0.006708223819732666,
0.00670304012298584,
0.006673408031463623,
0.006622208118438721,
0.006593535900115967,
0.0066007041931152345,
0.006667263984680176,
0.006656000137329102,
0.00672870397567749,
0.006754303932189941,
0.006755328178405762,
0.006820864200592041,
0.006744063854217529,
0.006663167953491211,
0.006665215969085693,
0.006730751991271973,
0.006816768169403077,
0.006758399963378906,
0.0067472000122070315,
0.006804480075836182,
0.006726655960083008,
0.0067338237762451176,
0.006670335769653321,
0.006654943943023682,
0.006699007987976074,
0.006731743812561035,
0.00673689603805542,
0.006761472225189209,
0.006625279903411865,
0.006592512130737305,
0.006601727962493896,
0.0066826238632202144,
0.006635456085205078,
0.006699007987976074,
0.0066826238632202144,
0.006672383785247803,
0.006706175804138184,
0.006708223819732666,
0.006706175804138184,
0.0067348480224609375,
0.006761439800262451,
0.006752255916595459,
0.006719488143920899,
0.00669593620300293,
0.006661119937896728,
0.006633471965789795,
0.0067123198509216305,
0.006754303932189941,
0.006721536159515381,
0.0067051520347595215,
0.00667852783203125,
0.006696959972381592,
0.006670335769653321,
0.0066641921997070315,
0.0066078720092773435,
0.006837247848510742,
0.006652927875518798,
0.006780960083007812,
0.006684671878814697,
0.006621183872222901,
0.0066406397819519045,
0.006638559818267822,
0.006680575847625733,
0.006673408031463623,
0.006626304149627686,
0.006639616012573242,
0.006756351947784424,
0.00673686408996582,
0.00733081579208374,
0.006957056045532227,
0.006908927917480469,
0.006960192203521729,
0.0069212160110473635,
0.006877151966094971,
0.0067338237762451176,
0.0067246718406677244,
0.006672383785247803,
0.006623231887817383,
0.006711296081542969,
0.006652927875518798,
0.006649856090545654,
0.006601727962493896,
0.0064471039772033695,
0.006549503803253174,
0.006662144184112549,
0.006474751949310303,
0.006291456222534179,
0.006340608119964599,
0.006301695823669433,
0.007270400047302246,
0.008010751724243164,
0.008058879852294922,
0.008203264236450195,
0.006809599876403808,
0.00693555212020874,
0.00667852783203125,
0.006551551818847656,
0.006505472183227539,
0.0064839677810668945,
0.006458367824554443,
0.006491136074066162,
0.0064542717933654785,
0.0065146880149841305,
0.006494207859039307,
0.0064430079460144046,
0.006500351905822754,
0.006491136074066162,
0.006401023864746094,
0.006286367893218994,
0.006278143882751465,
0.006322175979614258,
0.006313951969146728,
0.006300704002380371,
0.006292479991912842,
0.00627513599395752,
0.006293504238128662,
0.006289408206939697,
0.006310976028442382,
0.006292479991912842,
0.00626585578918457,
0.006291456222534179,
0.006285312175750732,
0.006305791854858398,
0.0062873601913452145,
0.006578112125396728,
0.006631423950195312,
0.0063211522102355954,
0.0063201279640197755,
0.006294528007507324,
0.0062904319763183595,
0.006311935901641846,
0.006307839870452881,
0.006293504238128662,
0.006293439865112304,
0.006333439826965332,
0.006322175979614258,
0.006300672054290772,
0.006309887886047363
]
},
"throughput": {
"unit": "samples/s",
"value": 150.33382823580482
},
"energy": {
"unit": "kWh",
"cpu": 7.572605657731765e-08,
"ram": 4.1374296692236246e-08,
"gpu": 1.3792120021656114e-07,
"total": 2.5502155348611505e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3921237.190857463
}
}
}
}