[object Object]

← back to Exo

remove comment

ea3322dea48020cdb201261388428932ef8d6c8f · 2024-09-05 16:00:34 +0100 · Alex Cheema

Files touched

Diff

commit ea3322dea48020cdb201261388428932ef8d6c8f
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Thu Sep 5 16:00:34 2024 +0100

    remove comment
---
 exo/download/hf/hf_helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exo/download/hf/hf_helpers.py b/exo/download/hf/hf_helpers.py
index d8742222..3197605d 100644
--- a/exo/download/hf/hf_helpers.py
+++ b/exo/download/hf/hf_helpers.py
@@ -406,4 +406,4 @@ def get_allow_patterns(weight_map: Dict[str, str], shard: Shard) -> List[str]:
   else:
     shard_specific_patterns = ["*.safetensors"]
   if DEBUG >= 2: print(f"get_allow_patterns {weight_map=} {shard=} {shard_specific_patterns=}")
-  return list(default_patterns | shard_specific_patterns)  # Remove duplicates
+  return list(default_patterns | shard_specific_patterns)

← e0fda94d use sets for shard specific patterns  ·  back to Exo  ·  use set for shard specific patterns 11dd952d →