wandbversion 0.8.28, we can save the code from your main training file where you call
wandb.init(). This will get sync'd to the dashboard and show up in a tab on the run page, as well as the Code Comparer panel. Go to your settings page to enable code saving by default.
wandb.init(). To save additional library code, call
wandb.init()to capture all python source code files in the current directory and all subdirectories as an artifact. For more control over the types and locations of source code files that are saved, please see the reference docs.