Use llmtuner logger

This commit is contained in:
yhyu13 2023-12-16 07:15:27 +00:00
parent 26817143ff
commit fc70a92cb6
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ import torch
from typing import TYPE_CHECKING, Any, Dict, Optional, Tuple
from transformers import InfNanRemoveLogitsProcessor, LogitsProcessorList
import logging
logger = logging.getLogger(__name__)
from llmtuner.extras.logging import get_logger
logger = get_logger(__name__)
try:
from transformers.utils import (