IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2c27689 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "4",
"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.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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": 908.148736,
"max_global_vram": 841.785344,
"max_process_vram": 43301.691392,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.059900390625,
"mean": 7.059900390625,
"stdev": 0.0,
"p50": 7.059900390625,
"p90": 7.059900390625,
"p95": 7.059900390625,
"p99": 7.059900390625,
"values": [
7.059900390625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.974208,
"max_global_vram": 897.675264,
"max_process_vram": 189909.962752,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 129,
"total": 0.9944920015335086,
"mean": 0.007709240321965179,
"stdev": 0.000649953190338238,
"p50": 0.007419177055358887,
"p90": 0.00829287109375,
"p95": 0.008321958732604981,
"p99": 0.010097626762390136,
"values": [
0.008163334846496582,
0.007902855873107911,
0.00802637481689453,
0.008052295684814453,
0.008014856338500976,
0.007974695205688477,
0.007913896083831787,
0.008926852226257324,
0.007586057186126709,
0.007514377117156982,
0.007499657154083252,
0.007460136890411377,
0.007410057067871094,
0.007388778209686279,
0.007385578155517578,
0.007360456943511963,
0.0073902177810668945,
0.007387978076934814,
0.007403976917266845,
0.007397896766662597,
0.0074012579917907715,
0.0074031782150268555,
0.007383656978607178,
0.007380617141723633,
0.00749373722076416,
0.0076002969741821285,
0.0075238170623779296,
0.007518056869506836,
0.007515817165374756,
0.007602056980133057,
0.0077207770347595215,
0.010552927970886231,
0.008331974029541016,
0.007956136226654052,
0.007957896232604981,
0.00794493579864502,
0.007952775955200195,
0.007939815044403076,
0.007927175998687743,
0.013152440071105958,
0.00808541488647461,
0.008321574211120605,
0.008292775154113769,
0.008298053741455078,
0.00828349494934082,
0.008340133666992187,
0.00832221508026123,
0.008351334571838379,
0.008312933921813965,
0.008314535140991211,
0.00828637409210205,
0.007880775928497315,
0.007761415958404541,
0.007760136127471924,
0.007840456008911133,
0.00756253719329834,
0.007543817043304444,
0.007821576118469238,
0.007606855869293213,
0.00741005802154541,
0.007402857780456543,
0.0073862171173095705,
0.007352616786956787,
0.007380137920379639,
0.007324137210845947,
0.00734077787399292,
0.0074449372291564946,
0.007410216808319092,
0.007418537139892578,
0.007430377006530761,
0.007413257122039795,
0.0073945379257202145,
0.007431817054748535,
0.007378376960754394,
0.007371178150177002,
0.0073750181198120116,
0.007331336975097656,
0.007362058162689209,
0.007403817176818848,
0.0073678169250488285,
0.007366858005523682,
0.007401257038116455,
0.007376296997070313,
0.00738957691192627,
0.007378218173980713,
0.007371177196502685,
0.007379016876220703,
0.0073590178489685056,
0.007388936996459961,
0.007388136863708496,
0.007364297866821289,
0.007338057041168213,
0.007350858211517334,
0.007348618030548096,
0.007448136806488037,
0.0073892569541931154,
0.007399017810821533,
0.007377737998962402,
0.00793453598022461,
0.008287494659423827,
0.008274535179138183,
0.00770557689666748,
0.008227495193481446,
0.008312454223632812,
0.008276933670043946,
0.008293254852294922,
0.008278054237365723,
0.00772141695022583,
0.007675977230072022,
0.007699975967407227,
0.007517577171325684,
0.007419177055358887,
0.007404778003692627,
0.0073994979858398435,
0.007392137050628662,
0.0073916568756103515,
0.007358057975769043,
0.007328297138214111,
0.007358057975769043,
0.0073614177703857425,
0.007373095989227295,
0.00738605785369873,
0.007410377979278565,
0.007408777236938477,
0.007412137031555176,
0.0073940582275390625,
0.007409738063812256,
0.007392457008361816,
0.007336297035217285
]
},
"throughput": {
"unit": "samples/s",
"value": 129.71446708579035
},
"energy": null,
"efficiency": null
}
}
}