Browse Source

Update utils_llama.py

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

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

@@ -20,6 +20,7 @@ from transformers.models.llama.modeling_llama import (
 )
 from cache_utils import Cache, HHCache
 from transformers.utils import logging
+from transformers.modeling_outputs import BaseModelOutputWithPast
 
 logger = logging.get_logger(__name__)