              suffix = "amd.txt"
          elif self.enable_cuda:
              suffix = "nvidia.txt"
          else:
              suffix = "cpu.txt"
          req_files = ["_requirements_base.txt", f"requirements_{suffix}"]
          pypath = os.path.dirname(os.path.realpath(__file__))
          requirements = []
 
</s> remove     def get_required_packages(self):
 </s> add     def get_required_packages(self) -> None: </s> remove         self.is_installer = False
        self.cuda_version = ""
        self.cudnn_version = ""
        self.enable_amd = False
        self.enable_docker = False
        self.enable_cuda = False
        self.required_packages = []
        self.missing_packages = []
        self.conda_missing_packages = []
 </s> add         self.is_installer: bool = False
        self.cuda_version: str = ""
        self.cudnn_version: str = ""
        self.enable_amd: bool = False
        self.enable_apple_silicon: bool = False
        self.enable_docker: bool = False
        self.enable_cuda: bool = False
        self.required_packages: List[Tuple[str, Tuple[str, str]]] = []
        self.missing_packages: List[str] = []
        self.conda_missing_packages: List[str] = [] </s> remove     def set_config(self):
 </s> add     def set_config(self) -> None:
        elif self.enable_apple_silicon:
            suffix = "apple_silicon.txt"
              suffix = "amd.txt"
          elif self.enable_cuda:
              suffix = "nvidia.txt"
        elif self.enable_apple_silicon:
            suffix = "apple_silicon.txt"
          else:
              suffix = "cpu.txt"
          req_files = ["_requirements_base.txt", f"requirements_{suffix}"]
          pypath = os.path.dirname(os.path.realpath(__file__))
          requirements = []
keep keep add keep keep keep keep keep
 Add Apple M1 to setup.py

add libblas to requirements 
setup.py