Skip to content

Commit b103d7b

Browse files
authored
chore: fix the if logic of deprecated usage in stats logger (#407)
1 parent 7e6bc39 commit b103d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

areal/utils/stats_logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class StatsLogger:
2121

2222
def __init__(self, config: BaseExperimentConfig, ft_spec: FinetuneSpec):
23-
if not isinstance(config, StatsLoggerConfig):
23+
if isinstance(config, StatsLoggerConfig):
2424
raise ValueError(
2525
"Passing config.stats_logger as the config is deprecated. "
2626
"Please pass the full config instead."

0 commit comments

Comments
 (0)