瀏覽代碼

Update utils_llama.py

Allen 1 年之前
父節點
當前提交
a6691c559e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      research/long-context-llama/H2O/utils_llama.py

+ 1 - 1
research/long-context-llama/H2O/utils_llama.py

@@ -18,7 +18,7 @@ from transformers.models.llama.modeling_llama import (
     apply_rotary_pos_emb,
     LlamaForCausalLM,
 )
-from cache_utils import Cache, HHCache
+from cache_utils import Cache, HHCache, StaticCache
 from transformers.utils import logging
 from transformers.modeling_outputs import BaseModelOutputWithPast