          causes tensorflow to not be able to locate shared libs and hence not use the GPU.
          We update the environment variable for all instances using Conda as it shouldn't hurt
          anything and may help avoid conflicts with globally installed Cuda
          """
          if not self.is_conda or not self.enable_cuda:
              return
  
          if self.os_version[0] == "Windows":
              return
  
          conda_prefix = os.environ["CONDA_PREFIX"]
          activate_folder = os.path.join(conda_prefix, "etc", "conda", "activate.d")
          deactivate_folder = os.path.join(conda_prefix, "etc", "conda", "deactivate.d")
 
</s> remove         and revert it when deactivating.
 </s> add         and revert it when deactivating. Linux/conda only </s> remove     def update_tf_dep(self):
 </s> add     def update_tf_dep(self) -> None: </s> remove                                       if not pkg.startswith("tensorflow-gpu")]
 </s> add                                       if not pkg[0].startswith("tensorflow-gpu")] </s> remove     def upgrade_pip(self):
 </s> add     def upgrade_pip(self) -> None: </s> remove             if self.env.is_conda and not pkg.startswith("git"):
 </s> add             if self.env.is_conda and not self.env.enable_apple_silicon:
        if not self.is_conda or not self.enable_cuda or self.os_version[0].lower() != "linux":
          causes tensorflow to not be able to locate shared libs and hence not use the GPU.
          We update the environment variable for all instances using Conda as it shouldn't hurt
          anything and may help avoid conflicts with globally installed Cuda
          """
        if not self.is_conda or not self.enable_cuda or self.os_version[0].lower() != "linux":
        if not self.is_conda or not self.enable_cuda or self.os_version[0].lower() != "linux":
        if not self.is_conda or not self.enable_cuda or self.os_version[0].lower() != "linux":
        if not self.is_conda or not self.enable_cuda or self.os_version[0].lower() != "linux":
              return
  
          conda_prefix = os.environ["CONDA_PREFIX"]
          activate_folder = os.path.join(conda_prefix, "etc", "conda", "activate.d")
          deactivate_folder = os.path.join(conda_prefix, "etc", "conda", "deactivate.d")
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Add Apple M1 to setup.py

add libblas to requirements 
setup.py