浏览代码

Update cache_utils.py

Allen 1 年之前
父节点
当前提交
cd94a39715
共有 1 个文件被更改,包括 1 次插入0 次删除
  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