Selaa lähdekoodia

Update utils_llama.py

Allen 1 vuosi sitten
vanhempi
commit
53b917b993
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      research/long-context-llama/H2O/utils_llama.py

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

@@ -19,6 +19,9 @@ from transformers.models.llama.modeling_llama import (
     LlamaForCausalLM,
 )
 from cache_utils import Cache
+from transformers.utils import logging
+
+logger = logging.get_logger(__name__)
 
 __all__ = ["H2OLlamaForCausalLM"]