flux-refactor

This commit is contained in:
Artiprocher
2025-06-27 10:20:11 +08:00
parent b603acd36a
commit fcf2fbc07f
15 changed files with 456 additions and 7 deletions

View File

@@ -178,7 +178,7 @@ class ModelConfig:
skip_download = dist.get_rank() != 0
# Check whether the origin path is a folder
if self.origin_file_pattern is None:
if self.origin_file_pattern is None or self.origin_file_pattern == "":
self.origin_file_pattern = ""
allow_file_pattern = None
is_folder = True