IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
76eeda0 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "6",
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1104.945152,
"max_global_vram": 68702.69952,
"max_process_vram": 3852.775424,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.06598026275634766
],
"count": 1,
"total": 0.06598026275634766,
"mean": 0.06598026275634766,
"p50": 0.06598026275634766,
"p90": 0.06598026275634766,
"p95": 0.06598026275634766,
"p99": 0.06598026275634766,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1222.811648,
"max_global_vram": 68702.69952,
"max_process_vram": 255133.044736,
"max_reserved": 555.74528,
"max_allocated": 499.506688
},
"latency": {
"unit": "s",
"values": [
0.00756609296798706,
0.007181130886077881,
0.007187372207641602,
0.0071676912307739255,
0.007089931964874268,
0.007116651058197022,
0.007071691989898682,
0.007143051147460938,
0.007126252174377442,
0.007127531051635742,
0.007127212047576904,
0.007114730834960938,
0.007097452163696289,
0.00712929105758667,
0.007089131832122802,
0.007059051036834717,
0.007102091789245605,
0.007111690998077393,
0.007098251819610595,
0.007155210971832276,
0.007085772037506104,
0.007105930805206299,
0.007108972072601318,
0.0071174511909484865,
0.007100652217864991,
0.0071025710105896,
0.0071166520118713375,
0.00714785099029541,
0.007098251819610595,
0.007107690811157226,
0.007074892044067383,
0.007144811153411865,
0.007141612052917481,
0.007109930992126465,
0.007094252109527588,
0.007307211875915528,
0.007144650936126709,
0.007113451957702637,
0.007106091022491455,
0.00712305212020874,
0.007105131149291993,
0.007110092163085937,
0.007089611053466797,
0.007082091808319092,
0.007109130859375,
0.0071091318130493165,
0.0071137709617614744,
0.007124011993408203,
0.0071417708396911625,
0.007128012180328369,
0.007300332069396973,
0.007187850952148437,
0.007144011974334717,
0.007140651226043702,
0.007093771934509278,
0.007100811004638672,
0.007103851795196533,
0.0071436910629272465,
0.007070571899414063,
0.007110890865325928,
0.007137132167816162,
0.007136810779571534,
0.0071067318916320805,
0.007160330772399902,
0.007077132225036621,
0.007080491065979004,
0.008049612998962402,
0.008114732742309571,
0.007961452007293701,
0.008054892539978027,
0.008051372528076172,
0.00809569263458252,
0.007686411857604981,
0.00737361192703247,
0.007443692207336426,
0.007313931941986084,
0.007385931968688965,
0.0075569720268249515,
0.008023372650146484,
0.007850253105163574,
0.007609931945800781,
0.008118573188781739,
0.008143532752990722,
0.008123852729797364,
0.008078092575073243,
0.008138894081115722,
0.007505931854248047,
0.007571852207183838,
0.0075240120887756345,
0.007392171859741211,
0.007200652122497558,
0.007205931186676026,
0.007184971809387207,
0.007369612216949463,
0.007230731964111328,
0.0071443309783935545,
0.007446092128753662,
0.007228332042694092,
0.0072014517784118656,
0.007226571083068848,
0.007213612079620361,
0.007224492073059082,
0.007211211204528808,
0.007227531909942627,
0.007176812171936035,
0.0072080111503601075,
0.007232652187347412,
0.007223532199859619,
0.007147531032562256,
0.007178572177886963,
0.007219211101531982,
0.007224970817565918,
0.007251852035522461,
0.00720769214630127,
0.007220011234283447,
0.007212811946868896,
0.007241611957550049,
0.007249451160430908,
0.007244972229003907,
0.007256971836090088,
0.007232651233673095,
0.007201930999755859,
0.007207052230834961,
0.0072152109146118165,
0.00720385217666626,
0.007233292102813721,
0.007202731132507324,
0.007213451862335205,
0.00714497184753418,
0.007156970977783203,
0.007193451881408692,
0.007224971771240234,
0.007222731113433838,
0.00723393201828003,
0.007189291000366211,
0.007206410884857178,
0.007225771903991699
],
"count": 137,
"total": 0.9970107274055477,
"mean": 0.0072774505650040015,
"p50": 0.007187372207641602,
"p90": 0.007640523910522461,
"p95": 0.00805953254699707,
"p99": 0.008133479194641113,
"stdev": 0.00027982407515235984,
"stdev_": 3.8450838333136237
},
"throughput": {
"unit": "samples/s",
"value": 137.4107582137111
},
"energy": null,
"efficiency": null
}
}
}