def enable_include_from_sourcetree():
    """
    Whether to include header files from source tree when building AIT model instead of
    placing them in a temp dir. Defaults to False. Only works with FBCUDA target when
    doing development / in-place builds.
    """
    return os.getenv("AIT_ENABLE_INCLUDE_FROM_SOURCETREE", "0") == "1"
Whether to include header files from source tree when building AIT model instead of
placing them in a temp dir. Defaults to False. Only works with FBCUDA target when
doing development / in-place builds.
python/aitemplate/utils/environ.py