    def disable_profiler_codegen(self) -> bool:
        """Whether to disable profiler codegen.

        disable profiler codegen completely in CI to speed up long running unittest

        Returns
        -------
        bool
            Whether to disable profiler codegen.
        """
        return (
            os.environ.get("DISABLE_PROFILER_CODEGEN", None) == "1"
            and not self.force_profile()
        )
Whether to disable profiler codegen.

disable profiler codegen completely in CI to speed up long running unittest

Returns
-------
bool
Whether to disable profiler codegen.
python/aitemplate/backend/target.py