Selaa lähdekoodia

Update utils_llama.py

Allen 1 vuosi sitten
vanhempi
commit
eb8b28c82b
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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__)