IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b71ab43 verified
raw
history blame
12.2 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.223-212.873.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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.897792,
"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.38494970703125,
"mean": 7.38494970703125,
"stdev": 0.0,
"p50": 7.38494970703125,
"p90": 7.38494970703125,
"p95": 7.38494970703125,
"p99": 7.38494970703125,
"values": [
7.38494970703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0599018097219454e-06,
"ram": 5.649998351948104e-07,
"gpu": 0.0,
"total": 1.6249016449167558e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1079.435264,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9994813418388366,
"mean": 0.006799192801624739,
"stdev": 0.00026584770300099806,
"p50": 0.00672051191329956,
"p90": 0.007036287879943847,
"p95": 0.0072573951244354245,
"p99": 0.007814840421676635,
"values": [
0.007408639907836914,
0.007305215835571289,
0.007269375801086426,
0.007229440212249756,
0.0072837119102478025,
0.006821887969970703,
0.0068986878395080565,
0.007171072006225586,
0.007008255958557129,
0.006897664070129395,
0.007023615837097168,
0.007021599769592285,
0.006971392154693603,
0.006565887928009034,
0.006532095909118653,
0.006660096168518067,
0.006592512130737305,
0.006708223819732666,
0.006730751991271973,
0.006683648109436035,
0.0067010560035705566,
0.006710271835327148,
0.006599679946899414,
0.006615039825439453,
0.006725632190704346,
0.006681600093841553,
0.006692863941192627,
0.006699007987976074,
0.0066375679969787596,
0.006675456047058105,
0.0067358717918396,
0.007104512214660645,
0.007093247890472412,
0.007027711868286133,
0.007035903930664063,
0.00694374418258667,
0.006875135898590088,
0.006909952163696289,
0.006956031799316406,
0.007036863803863525,
0.0069212160110473635,
0.006848512172698974,
0.006692863941192627,
0.006643712043762207,
0.006782976150512696,
0.006773759841918945,
0.006683648109436035,
0.0067338237762451176,
0.006717440128326416,
0.006675456047058105,
0.006576128005981445,
0.006710271835327148,
0.0067358717918396,
0.006680575847625733,
0.006703104019165039,
0.007074816226959229,
0.006969344139099121,
0.006944767951965332,
0.006880256175994873,
0.00694271993637085,
0.006951935768127441,
0.007003136157989502,
0.006949888229370117,
0.006956031799316406,
0.006929408073425293,
0.0069550080299377445,
0.006933504104614257,
0.00695091199874878,
0.006896639823913574,
0.0071157760620117185,
0.006986720085144043,
0.007029759883880615,
0.006994944095611572,
0.0069918718338012695,
0.007023615837097168,
0.006960095882415772,
0.006887423992156983,
0.006959104061126709,
0.00694374418258667,
0.006961152076721191,
0.006919167995452881,
0.006896639823913574,
0.006867968082427979,
0.0069283838272094726,
0.0068055038452148435,
0.006807551860809326,
0.006986752033233643,
0.0068055038452148435,
0.006633471965789795,
0.006586368083953857,
0.006915071964263916,
0.006668288230895996,
0.006816768169403077,
0.00683622407913208,
0.0067123198509216305,
0.006864895820617676,
0.007021567821502686,
0.007905280113220215,
0.00773632001876831,
0.007881728172302246,
0.007699456214904785,
0.006708223819732666,
0.006696959972381592,
0.006676479816436768,
0.00672051191329956,
0.006593535900115967,
0.006627327919006347,
0.0065177597999572755,
0.00658128023147583,
0.006582272052764892,
0.00653107213973999,
0.0065669121742248536,
0.0065771517753601075,
0.006520832061767578,
0.006553599834442139,
0.006565887928009034,
0.006532095909118653,
0.006557695865631104,
0.00652185583114624,
0.006559743881225586,
0.006541279792785645,
0.006546432018280029,
0.006554624080657959,
0.006561791896820069,
0.006498303890228272,
0.006562816143035889,
0.006557695865631104,
0.006516736030578613,
0.0065823040008544925,
0.006552639961242676,
0.006515711784362793,
0.006551551818847656,
0.006550528049468994,
0.006582272052764892,
0.006550528049468994,
0.006533120155334473,
0.006621183872222901,
0.00659660816192627,
0.006516736030578613,
0.006532095909118653,
0.006535168170928955,
0.006479872226715088,
0.00652288007736206,
0.006535168170928955,
0.0065064959526062015,
0.006556672096252441,
0.006520832061767578
]
},
"throughput": {
"unit": "samples/s",
"value": 147.0762823141358
},
"energy": {
"unit": "kWh",
"cpu": 7.771506574074031e-08,
"ram": 4.249170526421879e-08,
"gpu": 1.3959343048366145e-07,
"total": 2.598002014886205e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3849111.7184287515
}
}
}
}