Rank 0-only logging (#2608)
Co-authored-by: Wing Lian <wing@axolotl.ai>
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
tests for chat_template prompt strategy
|
||||
"""
|
||||
|
||||
import logging
|
||||
import unittest
|
||||
|
||||
from axolotl.prompt_strategies.chat_template import (
|
||||
@@ -13,9 +12,9 @@ from axolotl.prompt_strategies.chat_template import (
|
||||
from axolotl.prompters import IGNORE_TOKEN_ID
|
||||
from axolotl.utils.chat_templates import get_chat_template
|
||||
from axolotl.utils.dict import DictDefault
|
||||
from axolotl.utils.logging import get_logger
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
LOG = logging.getLogger("axolotl")
|
||||
LOG = get_logger(__name__)
|
||||
|
||||
|
||||
class TestAssistantChatTemplateLlama3:
|
||||
|
||||
Reference in New Issue
Block a user