Parcourir la source

Update utils_llama.py

Allen il y a 1 an
Parent
commit
53b917b993
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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"]