Browse Source

Update cache_utils.py

Allen 1 year ago
parent
commit
cd94a39715
1 changed files with 1 additions and 0 deletions
  1. 1 0
      research/long-context-llama/H2O/cache_utils.py

+ 1 - 0
research/long-context-llama/H2O/cache_utils.py

@@ -547,6 +547,7 @@ class HHCache(Cache):
         legacy_cache = ()
         for layer_idx in range(len(self)):
             legacy_cache += ((self.key_cache[layer_idx], self.value_cache[layer_idx], self.accumulated_attention_scores[layer_idx], ))
+        import pdb; pdb.set_trace()
         return legacy_cache
 
     @classmethod