Skip to content

WandBLogger calls Run.log with sync argument #3471

@DanielNobbe

Description

@DanielNobbe

🐛 Bug description

The W&B Logger interface seems to have been updated -- it does not take the sync argument anymore in the log() method. (See l. 301 in wandb_logger.py) It seems to have been removed in v0.20 of the wandb package, the current version is 0.23. It doesn't have any effect.

Environment

pytorch-ignite                     0.5.3
torch                              2.9.1
wandb                              0.23.0

On Linux, installed through uv (pip), python version 3.12.11.

Removing the sync argument from the log call resolves the issue. I'll make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions