src/transformers/benchmark/benchmark_args_utils.py/BenchmarkArguments/__post_init__
class BenchmarkArguments:    def __post_init__(self):
        warnings.warn(
            f"The class {self.__class__} is deprecated. Hugging Face Benchmarking utils"
            " are deprecated in general and it is advised to use external Benchmarking libraries "
            " to benchmark Transformer models.",
            FutureWarning,
        )