pypi wandb 0.29.0
v0.29.0

2 hours ago

What's Changed

Notable Changes

  • Removed the deprecated start_method setting that already had no effect.
  • The .length property on paginated objects (e.g. Api.runs(), Api.sweeps(), run.files()) has been removed. Use len(...) instead.
    wandb.Video() now requires the format argument when initializing from a numpy array or raw bytes.
  • Removed the deprecated summary="best" option and goal argument of run.define_metric(). Use summary="min" or summary="max" instead.
  • Removed the deprecated quiet argument of run.finish() and wandb.finish(). Use wandb.Settings(quiet=...) instead.
  • Removed the deprecated run.project_name(), run.get_url(), run.get_project_url(), and run.get_sweep_url() methods. Use the run.project, run.url, run.project_url, and run.sweep_url properties instead.
  • wandb.Image no longer normalizes pixel values. Callers must now ensure their data already falls within the range [0, 255].
  • On macOS, wandb now requires macOS 13 (Ventura) or newer.

Added

  • Added run.console_logs() to the public API for reading the console output that W&B captured for a run — the whole log, or only the last N lines with run.console_logs(last=N), for finished and still-running runs alike. Reading from the beginning requires W&B Server 0.77 or newer (@dmitryduev in #12442)
  • The automations API now supports team and organization scopes. (@tonyyli-wandb in #12197, #12194)
  • The automations API now supports creating and editing automations whose scope is a Registry object (@tonyyli-wandb in #10867)
  • Press g in LEET to draw guides behind line charts: a dotted background or horizontal lines aligned with the axis ticks. The choice is saved and can also be set with chart_guides in wandb leet config. (@dmitryduev in #12463)
  • Drag the separator lines between LEET's run overview sections to resize them with the mouse. The proportions are saved per view; press 0 to reset them along with the other pane sizes (@dmitryduev in #12525)
  • Registry API version queries (Api.registries().versions(), Api.registries().collections().versions(), Registry.versions(), Registry.collections().versions()) now accept an optional order string as a keyword argument for organizations with advanced search. The API supports ordering versions by created_at, artifact_size, and linked_at (@amusipatla-wandb in #12489)
  • Added Artifact.linked_at which returns when the version was linked to the relevant portfolio. This is valid only for linked versions, and for source artifacts returns None (@amusipatla-wandb in #12490)
  • wandb.Artifact now accepts a digest_algorithm argument ("MD5" or "XXH128", defaulting to "MD5"). Passing digest_algorithm="XXH128" opts the artifact into XXH128 hashing when possible. For artifacts created with digest_algorithm="XXH128", artifact.verify() will fail for SDK versions older than 0.29.0. (@amusipatla-wandb in #12564)
  • wandb leet inspect [PATH] browses the raw records in a run's .wandb transaction log: a filterable list of every record next to a text view of the selected one, following live runs as they write. Press i in LEET's single-run view to open it for the current run, and pipe or redirect to print the records instead, e.g. wandb leet inspect | less. (@dmitryduev in #12547, #12548, #12549)

Changed

  • The run overview sections in LEET (Environment, Config, Summary) now share the sidebar height proportionally and use all of the available space; previously they stopped growing at fixed sizes, leaving the bottom of tall terminals empty (@dmitryduev in #12523)
  • Api.{create,update}_automation() now raise UnsupportedError instead of CommError when the server doesn't support the given automation (@tonyyli-wandb in #12194)
  • The message format used to communicate between internal processes has slightly changed. If you use wandb beta core, restart the service after upgrading wandb, as some operations may fail if the SDK and service versions differ. (@tonyyli-wandb in #12374)
  • wandb.sandbox now allows GPU resource requests for sandboxes instead of rejecting resources.gpu client-side (@nicholaspun-wandb in #12455)
  • Registry search methods (Api.registries(), .collections(), .versions()) now validate filter field names, rejecting unsupported field names. (@tonyyli-wandb in #12182)
  • wandb.Video() now requires the format argument when initializing from a numpy array or an io object. (@jacobromero in #12579)
  • The macOS wheels now require macOS 13 (Ventura) or newer; macOS 12 reached end of life in 2024 (@dmitryduev in #12599)

Removed

  • Removed wandb.tensorboard.log() / wandb.tensorflow.log() (@timoffex in #12423)
  • The deprecated start_method setting that already had no effect (@dmitryduev in #12581)
  • Removed the deprecated .length property from wandb.apis.paginator.SizedPaginator. Use len(...) instead (@jacobromero in #12575)
  • The deprecated summary="best" option and goal argument of run.define_metric(); use summary="min" or summary="max" instead (@dmitryduev in #12583)
  • The deprecated quiet argument of run.finish() and wandb.finish(); use wandb.Settings(quiet=...) instead (@dmitryduev in #12584)
  • The deprecated run.project_name(), run.get_url(), run.get_project_url(), and run.get_sweep_url() methods; use the run.project, run.url, run.project_url, and run.sweep_url properties instead (@dmitryduev in #12585)
  • Removed deprecated normalize argument from wandb.Image; callers should ensure pixel values for NumPy arrays and PyTorch tensors already fall in the range [0, 255] (@jacobromero in #12574)

Fixed

  • Artifact.new_file now works for artifacts uploaded with wandb sync (@amusipatla-wandb in #12437)
  • At certain pane widths, such as while dragging a sidebar edge, LEET drew metric charts wider than the space available, pushing the right sidebar off screen (@dmitryduev in #12513)
  • wandb leet config now works on short terminal windows: the field list scrolls with the selection and Space toggles boolean settings (@dmitryduev in #12529)
  • Run.scan_history(keys=...) no longer fails for runs with nested values. (@mameikagou in #12542)
  • LEET media panels painted black bars around images in the ANSI view and flashed black when switching to the full-res view; the area around the image now shows the terminal background and mode switches no longer flash or move the image (@dmitryduev in #12569)

Security

  • Reject file or artifact name that contain relative path when downloading artifacts via artifact.files(), artifact.checkout() (@pingleiwandb in #12516)

Don't miss a new wandb release

NewReleases is sending notifications on new releases.