Skip to content

Commit

Permalink
fix(logging): 🐞 reorder import statement for configure_logging in exa…
Browse files Browse the repository at this point in the history
…mple usage

Signed-off-by: Onuralp SEZER <[email protected]>
  • Loading branch information
onuralpszr committed Feb 4, 2025
1 parent a869dbb commit e0d470f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maestro/trainer/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def configure_logging() -> None:
Example:
import os
from maestro.trainer import configure_logging
os.environ["MAESTRO_LIGHTNING_LOG_LEVEL"] = "DEBUG"
os.environ["MAESTRO_TRANSFORMERS_PROGRESS"] = "1"
from maestro.trainer import configure_logging
configure_logging()
"""
lightning_level = os.getenv("MAESTRO_LIGHTNING_LOG_LEVEL", "INFO")
Expand Down

0 comments on commit e0d470f

Please sign in to comment.