Skip to content

Upgrading wandb 0.19 to 0.20

Breaking0.19.11 → 0.20.1Breaking7Deprecated2New11Changed2Fixed9Other1

BreakingUpgrade verdict

7 breaking changes.

  • 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.
Top 5 of 9 that need code or config changes

Adds packaging.

Drops docker-pycreds, setuptools.

Installs 21 packages in all (was 23).

Breaking7
Removes the ability to disable the service process.
service
Removes 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_SERVICE
Removes the ability to use wandb.docker after only importing wandb.
wandb.docker
Removes the no-op sync argument from wandb.Run::log.
wandb.Run::logsync
Removes the deprecated wandb.sdk.wandb_run.Run.mode property.
wandb.sdk.wandb_run.Run.mode
Removes the deprecated wandb.sdk.wandb_run.Run::join method.
wandb.sdk.wandb_run.Run::join
wandb.sdk.wandb_run.Run::save now requires the glob_str argument.
wandb.sdk.wandb_run.Run::saveglob_str
Deprecated2
Deprecates the start_method setting, which now has no effect and is safely ignored.
start_method
Deprecates the Artifact.use_as property and the use_as parameter for run.use_artifact().
Artifact.use_asrun.use_artifact()use_as