Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into modelUploadStorageR…
Browse files Browse the repository at this point in the history
…equestSize
  • Loading branch information
patricklundquist committed Jan 16, 2025
2 parents 0553728 + 7126975 commit e58ac32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clarifai/runners/utils/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def download_checkpoints(self, checkpoint_path: str):
repo_files = list_repo_files(repo_id=self.repo_id, token=self.token)
if any(f.endswith(".safetensors") for f in repo_files):
logger.info(f"SafeTensors found in {self.repo_id}, downloading only .safetensors files.")
ignore_patterns = ["original/*", "*.pth", "*.bin"]
ignore_patterns = ["**/original/*", "**/*.pth", "**/*.bin"]
snapshot_download(
repo_id=self.repo_id,
local_dir=checkpoint_path,
Expand Down

0 comments on commit e58ac32

Please sign in to comment.