Skip to content

Commit

Permalink
Allow bool input for loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
ngcgarcia committed Jan 23, 2024
1 parent b2a0c03 commit 000a735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/utils/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def build_callback(

def build_logger(name: str, kwargs: Dict[str, Any]) -> LoggerDestination:
kwargs_dict = {
k: v if isinstance(v, str) else om.to_container(v, resolve=True)
k: v if isinstance(v, str) or isinstance(v, bool) else om.to_container(v, resolve=True)
for k, v in kwargs.items()
}

Expand Down

0 comments on commit 000a735

Please sign in to comment.