Skip to content

Upgrading wandb 0.18 to 0.19

Breaking0.18.7 → 0.19.11Breaking7Platform1Deprecated6New20Changed17Fixed40

BreakingUpgrade verdict

7 breaking changes and a platform requirement change.

  • Removes the -q / --quiet argument to the wandb magic in IPython / Jupyter; use the quiet run setting instead.
  • Methods that page results now require a whole number for per_page. Passing None is no longer allowed.
  • A private configuration option is no longer available.
  • A disabled run no longer makes every future run disabled too.
Top 5 of 11 that need code or config changes

Python requirement changed in 0.19.0rc1: >=3.7 → >=3.8.

Adds pydantic <3, typing-extensions <5,>=4.4.

Installs 23 packages in all (was 18).

Breaking7
Removes the -q / --quiet argument to the wandb magic in IPython / Jupyter; use the quiet run setting instead.
-q--quietwandbquiet
Paginated methods and paginators accepting per_page now only accept int; passing None is no longer supported.
per_page
Removes the private x_show_operation_stats setting.
x_show_operation_stats
Calling wandb.init(mode="disabled") no longer disables all later runs by default.
wandb.init()wandb.setup()wandb.Settings
Removes the reset parameter from the private wandb.wandb_sdk.wandb_setup._setup() function.
wandb.wandb_sdk.wandb_setup._setup()wandb.teardown()
Removes the logger and _set_logger symbols from the private wandb.wandb_sdk.wandb_setup module.
wandb.wandb_sdk.wandb_setuplogger_set_logger
Removes the wandb.Run.plot_table method; use wandb.plot_table instead.
wandb.Run.plot_tablewandb.plot_table
Platform1
Drops support for Python 3.7.
Deprecated3
Deprecates wandb.Run methods run.project_name(), run.get_url(), run.get_project_url() and run.get_sweep_url() in favor of properties.
wandb.Runrun.project_name()run.projectrun.get_url()run.urlrun.get_project_url()run.project_urlrun.get_sweep_url()
Deprecates the run.get_sweep_url() method in favor of run.sweep_url.
run.get_sweep_url()run.sweep_url
Boolean values for the reinit setting are deprecated; use "return_previous" and "finish_previous" instead.
reinit