paddypq

Results 2 comments of paddypq

I have use this way to fix this issue on my machine . ``` def download(self) -> Tuple[os.PathLike, os.PathLike]: print(f"Loading {self.name} model file from {self.kwargs['repo_id']}") # model_path = Path(hf_hub_download( #...

def download(self) -> Tuple[os.PathLike, os.PathLike]: print(f"Loading {self.name} model file from {self.kwargs['repo_id']}") runner_path = os.getcwd() model_path = Path(runner_path).joinpath("models").joinpath(self.kwargs['repo_id']).joinpath(self.model_path) tags_path = Path(runner_path).joinpath("models").joinpath(self.kwargs['repo_id']).joinpath(self.tags_path) if (os.path.exists(model_path) and os.path.exists(tags_path)): pass else: model_path = Path(hf_hub_download( **self.kwargs,...