Parcourir la source

Update utils_llama.py

Allen il y a 1 an
Parent
commit
eb8b28c82b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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__)