Skip to content

Commit

Permalink
Merge pull request #69 from danmcp/logging
Browse files Browse the repository at this point in the history
Don't set basicConfig from libraries
  • Loading branch information
alinaryan authored Jul 15, 2024
2 parents 5f88204 + 078cfca commit ae6097f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ GitPython>=3.1.42,<4.0.0
shortuuid
openai>=1.13.3,<2.0.0
psutil
rich==13.7.1
torch
transformers
accelerate
Expand Down
9 changes: 0 additions & 9 deletions src/instructlab/eval/logger_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,8 @@
# Standard
import logging

# Third Party
from rich.logging import RichHandler


def setup_logger(name):
# Set up the logger
logging.basicConfig(
level=logging.INFO,
format="%(message)s",
datefmt="[%X]",
handlers=[RichHandler()],
)
logger = logging.getLogger(name)
return logger

0 comments on commit ae6097f

Please sign in to comment.