mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 02:42:52 +08:00
[tune] remove callbacks from config in wandb logger initialization (#10441)
This commit is contained in:
@@ -260,6 +260,8 @@ class WandbLogger(Logger):
|
||||
def _init(self):
|
||||
config = self.config.copy()
|
||||
|
||||
config.pop("callbacks", None) # Remove callbacks
|
||||
|
||||
try:
|
||||
if config.get("logger_config", {}).get("wandb"):
|
||||
logger_config = config.pop("logger_config")
|
||||
|
||||
Reference in New Issue
Block a user