Upgrading wandb 0.19 to 0.20
Breaking0.19.11 → 0.20.1Breaking7Deprecated2New11Changed2Fixed9Other1
BreakingUpgrade verdict
7 breaking changes.
In plain terms
- You can no longer turn off the background service process that wandb runs.
- The settings and environment variables used to turn off the service process now raise an error if used.
- wandb.docker is no longer available just by importing wandb and is not a public interface.
- The unused sync argument on Run.log has been removed.
Must act Top 5 of 9 that need code or config changes
Adds packaging.
Drops docker-pycreds, setuptools.
Installs 21 packages in all (was 23).
What you must change
Breaking7
Removes the ability to disable the
service process.serviceRemoves support for disabling the
service process; the x_disable_service/_disable_service setting and related env vars now raise an error.x_disable_service_disable_serviceWANDB_DISABLE_SERVICEWANDB_X_DISABLE_SERVICERemoves the ability to use
wandb.docker after only importing wandb.wandb.dockerRemoves the no-op
sync argument from wandb.Run::log.wandb.Run::logsyncRemoves the deprecated
wandb.sdk.wandb_run.Run.mode property.wandb.sdk.wandb_run.Run.modeRemoves the deprecated
wandb.sdk.wandb_run.Run::join method.wandb.sdk.wandb_run.Run::joinwandb.sdk.wandb_run.Run::save now requires the glob_str argument.wandb.sdk.wandb_run.Run::saveglob_strDeprecations to plan for
Deprecated2
Deprecates the
start_method setting, which now has no effect and is safely ignored.start_methodDeprecates the
Artifact.use_as property and the use_as parameter for run.use_artifact().Artifact.use_asrun.use_artifact()use_as