IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
58f57d7 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": "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": 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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "2680e6fb8019f9b6eb6fcaa00b283acdac4d3d3d",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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": 902.26688,
"max_global_vram": 841.773056,
"max_process_vram": 43151.089664,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.699794921875,
"mean": 6.699794921875,
"stdev": 0.0,
"p50": 6.699794921875,
"p90": 6.699794921875,
"p95": 6.699794921875,
"p99": 6.699794921875,
"values": [
6.699794921875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1011.52768,
"max_global_vram": 898.277376,
"max_process_vram": 214727.114752,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 137,
"total": 1.0003052287101748,
"mean": 0.007301498019782295,
"stdev": 0.0009922353063803063,
"p50": 0.007123527050018311,
"p90": 0.00753997449874878,
"p95": 0.007753511142730712,
"p99": 0.01002965328216551,
"values": [
0.007480327129364014,
0.007591366767883301,
0.007871527194976807,
0.009136008262634278,
0.007913126945495605,
0.007849607944488525,
0.00774688720703125,
0.0077800068855285644,
0.007637607097625732,
0.007628167152404785,
0.007564167022705078,
0.00752384614944458,
0.007501126766204834,
0.007424966812133789,
0.00738560676574707,
0.007392646789550782,
0.007350245952606201,
0.007440007209777832,
0.007430566787719727,
0.007476487159729004,
0.0073777661323547366,
0.0074692869186401365,
0.0176374568939209,
0.004437123775482178,
0.007414086818695069,
0.007342086791992187,
0.010532328605651856,
0.007338407039642334,
0.007080805778503418,
0.007040327072143555,
0.00709968614578247,
0.007239527225494384,
0.007042726039886474,
0.00713456678390503,
0.007102086067199707,
0.007072806835174561,
0.007094726085662841,
0.00707392692565918,
0.007088645935058594,
0.007072806835174561,
0.007078886032104492,
0.0070987272262573245,
0.0071246461868286134,
0.007074246883392334,
0.007071526050567627,
0.007095046997070312,
0.007090725898742676,
0.0071172862052917485,
0.007101446151733398,
0.007076965808868408,
0.007108167171478271,
0.007111526012420654,
0.00714320707321167,
0.00708832597732544,
0.007123527050018311,
0.007112165927886963,
0.007064806938171387,
0.007123685836791992,
0.007155527114868164,
0.007136645793914795,
0.007232487201690674,
0.007111526012420654,
0.007119367122650147,
0.007104485988616943,
0.007144647121429443,
0.0070988860130310055,
0.007087206840515137,
0.007115846157073975,
0.007152166843414307,
0.00712160587310791,
0.007081926822662354,
0.007130405902862549,
0.007122887134552002,
0.007115685939788818,
0.007116646766662598,
0.007112805843353272,
0.007088966846466064,
0.007099366188049317,
0.007140326976776123,
0.007091206073760986,
0.007140167236328125,
0.007146406173706055,
0.007126087188720703,
0.007128166198730469,
0.007067206859588623,
0.007089925765991211,
0.007102245807647705,
0.007099525928497314,
0.007108166217803955,
0.00713552713394165,
0.007120326042175293,
0.007133127212524414,
0.00713360595703125,
0.0071134471893310545,
0.007148166179656982,
0.007139846801757812,
0.0071337661743164065,
0.007087847232818603,
0.007602247238159179,
0.007694567203521728,
0.007407046794891357,
0.007395845890045166,
0.007416966915130615,
0.007281766891479492,
0.00712592601776123,
0.007143046855926514,
0.007172485828399658,
0.007188487052917481,
0.007186886787414551,
0.007136645793914795,
0.007162086963653565,
0.007124005794525146,
0.0070720062255859376,
0.007111845970153808,
0.007124166011810303,
0.007069927215576172,
0.007114726066589356,
0.007121286869049072,
0.007123045921325684,
0.007103847026824951,
0.007104005813598633,
0.007079047203063965,
0.0071196861267089845,
0.007115847110748291,
0.0071123261451721195,
0.00714544677734375,
0.007113766193389892,
0.007108646869659424,
0.007120165824890137,
0.007082887172698974,
0.007111365795135498,
0.007116006851196289,
0.0071337661743164065,
0.007123526096343994,
0.007135206222534179,
0.0071206469535827635,
0.007129446029663086
]
},
"throughput": {
"unit": "samples/s",
"value": 136.95819642635698
},
"energy": null,
"efficiency": null
}
}
}