swanlab offline
bash
swanlab offlineIntroduction
Quickly set SwanLab to offline mode in the command line.
Priority
SwanLab provides three ways to set the offline mode:
- Command line
bash
swanlab offline- Environment variable
bash
export SWANLAB_MODE=offline- Code
python
swanlab.init(mode="offline")The priority order is: Code > Environment variable > Command line.
Set to other modes
Cloud mode:
bash
swanlab onlineDisabled mode:
bash
swanlab disabledLocal dashboard mode:
bash
swanlab local