Explorar o código

Update utils_llama.py

Allen hai 1 ano
pai
achega
53b917b993
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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"]