What's Changed
Notable Changes
- Removed the deprecated
start_methodsetting that already had no effect. - The
.lengthproperty on paginated objects (e.g.Api.runs(),Api.sweeps(),run.files()) has been removed. Uselen(...)instead.
wandb.Video()now requires theformatargument when initializing from a numpy array or raw bytes. - Removed the deprecated
summary="best"option andgoalargument ofrun.define_metric(). Usesummary="min"orsummary="max"instead. - Removed the deprecated
quietargument ofrun.finish()andwandb.finish(). Usewandb.Settings(quiet=...)instead. - Removed the deprecated
run.project_name(),run.get_url(),run.get_project_url(), andrun.get_sweep_url()methods. Use therun.project,run.url,run.project_url, andrun.sweep_urlproperties instead. wandb.Imageno longer normalizes pixel values. Callers must now ensure their data already falls within the range [0, 255].- On macOS,
wandbnow 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 withrun.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
Registryobject (@tonyyli-wandb in #10867) - Press
gin 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 withchart_guidesinwandb 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
0to 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 optionalorderstring as a keyword argument for organizations with advanced search. The API supports ordering versions bycreated_at,artifact_size, andlinked_at(@amusipatla-wandb in #12489) - Added
Artifact.linked_atwhich returns when the version was linked to the relevant portfolio. This is valid only for linked versions, and for source artifacts returnsNone(@amusipatla-wandb in #12490) wandb.Artifactnow accepts adigest_algorithmargument ("MD5"or"XXH128", defaulting to"MD5"). Passingdigest_algorithm="XXH128"opts the artifact into XXH128 hashing when possible. For artifacts created withdigest_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.wandbtransaction log: a filterable list of every record next to a text view of the selected one, following live runs as they write. Pressiin 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 raiseUnsupportedErrorinstead ofCommErrorwhen 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 upgradingwandb, as some operations may fail if the SDK and service versions differ. (@tonyyli-wandb in #12374) wandb.sandboxnow allows GPU resource requests for sandboxes instead of rejectingresources.gpuclient-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 theformatargument 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_methodsetting that already had no effect (@dmitryduev in #12581) - Removed the deprecated
.lengthproperty fromwandb.apis.paginator.SizedPaginator. Uselen(...)instead (@jacobromero in #12575) - The deprecated
summary="best"option andgoalargument ofrun.define_metric(); usesummary="min"orsummary="max"instead (@dmitryduev in #12583) - The deprecated
quietargument ofrun.finish()andwandb.finish(); usewandb.Settings(quiet=...)instead (@dmitryduev in #12584) - The deprecated
run.project_name(),run.get_url(),run.get_project_url(), andrun.get_sweep_url()methods; use therun.project,run.url,run.project_url, andrun.sweep_urlproperties instead (@dmitryduev in #12585) - Removed deprecated
normalizeargument fromwandb.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_filenow works for artifacts uploaded withwandb 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 confignow 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)