I’m trying to figure out how code saving might work on a case-by-case basis for command-line runs (a plain .py file).
When I enable the “Enable code saving in your personal account” in the settings, code shows up.
When I disable it, I hoped that wandb.init(save_code=True) would do the same, but while the code shows up in the local wandb directory and it seems that the wanb interface knows about the file, it does not have it (see screenshot below).
The sync at the end is summarized as Synced 5 W&B file(s), 0 media file(s), 0 artifact file(s) and 1 other file(s).
I’m sure I’m doing something wrong, but I could use a hint what it is.
I was able to reproduce this issue on my end with wandb SDK version 0.15.5. Could you let me know your SDK version for me? I will be making a bug report on this behavior and knowing your SDK version is helpful to know when the issue started.