Weights & Biases is the machine learning platform for developers to build better models faster.
Offline Mode
wandb offline mode must be used on a compute node of CINECA cluster.
The following methods can be used to enable offline mode:
- In your application initialize wandb by setting the mode option to "offline":
wandb.init(mode="offline")
- Set the
WANDB_HOME
environment variable to offline with one of the following methods:export WANDB_MODE=offline
os.environ['WANDB_MODE'] = 'offline'
- use
wandb
command:
wandb offline
How to synchronize with wandb cloud
Use wandb sync
command to synchronize with wandb cloud servers.
- To synchronize your metrics to cloud service
wandb sync YOUR_RUN_DIRECTORY
- To synchronize all unsynced runs from local directory:
wandb sync --sync-all
- To delete all synced runs from local directory:
wandb sync --clean
see official docs
How to change default path for temporary configuration files
To change the default path for saving temporary configuration files, set the environment variable WANDB_CONFIG_DIR:
export WANDB_CONFIG_DIR=YOUR_PATH
see official docs