    def profile(
        self,
        workdir="./",
        devices=None,
        dynamic_profiling_strategy=DynamicProfileStrategy.MAX,
    ) -> None:
        """Selects the fastest kernel configurations.

        Parameters
        ----------
        workdir : str, optional
            The directory which contains source files, by default "./"
        devices: list, optional
            A list of device ids which can be used for profiling.
        dynamic_profiling_strategy: DynamicProfileStrategy, optional
            Profiling strategy used when there are dynamic dims.
            By default, MAX is used, i.e. to profile a dynamic range, an upper bound will be used.
        """

        return
Selects the fastest kernel configurations.

Parameters
----------
workdir : str, optional
The directory which contains source files, by default "./"
devices: list, optional
A list of device ids which can be used for profiling.
dynamic_profiling_strategy: DynamicProfileStrategy, optional
Profiling strategy used when there are dynamic dims.
By default, MAX is used, i.e. to profile a dynamic range, an upper bound will be used.
python/aitemplate/compiler/base.py