Change8

v0.24.0

Breaking Changes
📦 weights-biasesView on GitHub →
1 breaking2 features🐛 6 fixes🔧 6 symbols

Summary

This release removes the deprecated `wandb.beta.workflows` module, introduces signal forwarding for agents, and includes several fixes related to artifact ID generation, API calls, and run logging presentation.

⚠️ Breaking Changes

  • The legacy, deprecated `wandb.beta.workflows` module, including its `log_model()`, `use_model()`, and `link_model()` functions, has been removed. Users should migrate to `Run.log_artifact`, `Run.use_artifact`, and `Run.link_artifact` respectively.

Migration Steps

  1. Replace usage of `wandb.beta.workflows.log_model()` with `Run.log_artifact()`.
  2. Replace usage of `wandb.beta.workflows.use_model()` with `Run.use_artifact()`.
  3. Replace usage of `wandb.beta.workflows.link_model()` with `Run.link_artifact()`.

✨ New Features

  • `wandb agent` and `wandb.agent()` now accept a `forward_signals` flag (CLI: `--forward-signals/-f`) to relay SIGINT/SIGTERM and other catchable signals to sweep child runs for cleaner shutdowns.
  • `wandb beta sync` now supports a `--live` option for syncing a run while it is being logged.

🐛 Bug Fixes

  • Fixed `Run.__exit__` type annotations to correctly accept `None` values when no exception is raised.
  • Fixed `Invalid Client ID digest` error when creating artifacts after calling `random.seed()` by preventing client ID collisions when random state is deterministic.
  • Fixed CLI error when attempting to list empty artifacts.
  • Fixed regression when calling `api.run()` on a Sweeps run.
  • Fixed the "View run at" message printed at the end of a run to ensure the URL is always included.
  • Runs queried from `wandb.Api()` now display a string representation instead of a broken HTML window in VSCode notebooks.

Affected Symbols