pypi / wandb
wandb
What changed in wandb 0.22 to 0.31, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-21.
83 breaking6 security5 deprecations83 new APIs and options16 performance25 behavior and defaults5 tooling102 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initwandb 0.3166 changes
Breaking changes 15
Metrics are read through librocm_smi64.so instead of running rocm-smi on every sample; readings a GPU does not provide are omitted instead of reported as 0.
Reports the monitored process's CPU utilization over the sampling interval instead of its average since the process started.
The chart now opens as a heatmap with one row per core; y switches it back to lines.
The default server is now CoreWeave Forge, and run, project, sweep and login links point to its W&B site. Existing API keys stored for api.wandb.ai continue to work without logging in again.
NVIDIA GPM PCIe throughput metrics are reported in bytes per second instead of mebibytes per second.
NVIDIA GPM metrics are averaged over the whole interval between samples instead of a 200 ms window.
Metrics are averaged over each run's own sampling interval when several runs share one process.
Endpoints are scraped once per sampling interval for all runs on the machine, and runs use the same openmetrics index for matching metric labels.
Selected and pinned runs are remembered per wandb directory and selected again the next time it is opened; a newer run is also selected if it started since the last session.
Charts network and disk throughput in bytes per second instead of totals, and opens with CPU, memory, network and disk charts ahead of the rest.
Setting base_url in Api overrides no longer changes the W&B server URL used by wandb.init() and other W&B calls later in the same process.
Calling wandb.init() after wandb.agent(sweep_id, function=...) returns now creates a new run instead of reusing and overwriting the last sweep run.
Passing a run's config to wandb.init(config=...) or run.config.update() copies its keys instead of nesting the config under an _items key.
The undocumented API has been removed; use Python's built-in breakpoint() instead.
Runs write data to the local file at least every 15 seconds, so wandb leet shows recent data sooner for runs that log infrequently.
Security 1
The Docker image is built on an updated base image that fixes CVEs reported against the 0.30.0 image.
New APIs and options 14
Accepts linked_at as a filter field, matching the existing linked_at order field.
Adds each NVIDIA or AMD GPU's cumulative energy consumption in joules.
Adds PCIe throughput system metrics for NVIDIA GPUs older than Hopper.
Reports the number of TCP segments retransmitted since the run started.
Reports the percentage of CPU scheduler periods in which the container's CPU limit throttled the run.
Reports how many processes in the run's container the out-of-memory killer has killed since the run started.
A scheduler block in the sweep config configures local sweep search with wandb sweep-scheduler.
Shuts the agent down once the specified number of runs in a row have failed.
Keeps printing records as a running run writes them.
Prints records, or the summary, as JSON.
Prints a run's state, latest metric values, config and last console lines from its local .wandb file.
Runs a sweep's search locally using Optuna or Ax as the optimizer, configured in a scheduler block of the sweep config.
Deselects all runs except the pinned one.
Turns on system metrics for CPU and memory used by W&B's own background processes; these metrics are off by default.
Performance 5
Runs printing thousands of console lines per second no longer spend minutes of CPU time uploading them and finishing.
Importing wandb starts about twice as fast.
Sampling system metrics no longer costs more with the number of runs in a process.
The wandb CLI starts about twice as fast.
Api objects no longer permanently retain a few MiB of memory after garbage collection.
Behavior and default changes 4
The live system monitor shows utilization for every CPU core, Linux CPU temperature and swap usage, and hostname, uptime and load average in its header.
The helper process that collects system metrics is now named wandb-symon instead of wandb-xpu.
No longer requires the pytz package.
Now limits which GPUs are reported for every vendor, including AMD and Apple GPUs.
Tooling 1
Warns when a run was logged with a newer wandb version than the one syncing it.
Fixes and other changes 26
Records Neuron device and NeuronCore counts instead of always reporting 0.
Logs every evaluation, including the last, at the iteration CatBoost makes it; metric_period greater than 1 no longer shifts values one evaluation late or drops final ones.
Selects every run matching the runs filter.
The image ID recorded for runs inside Kubernetes no longer loses the start of the image name and the end of the digest.
Metrics resume when the helper process that collects them exits or fails to start, instead of stopping for the rest of the run.
Per-process GPU metrics are logged again for NVIDIA GPUs used by the process that called wandb.init().
In the single-run view, links console logs to charts; pressing l again unlinks them.
No longer counts loopback traffic or counts traffic twice through bonded and bridged interfaces.
Warnings appear again, including warnings when run.log() data is ignored because its step is lower than the current step.
Python 3.15 is now supported.
Runs that finish right after initialization no longer risk exiting before their final data and exit status are uploaded.
Now records the CPU model and, for each NVIDIA GPU, its PCI bus ID and, on Linux, its NUMA node.
No longer fails with 403 Forbidden on W&B deployments that store run history in Amazon S3.
Resumed runs no longer report a huge or negative runtime and run duration.
Changing grid rows or columns, including in wandb leet symon, no longer crashes and takes effect immediately.
The system metrics filter applies to whichever run is highlighted, and Space and Enter work in the runs list after filtering from another pane.
Exits with an error when the file is not a readable .wandb log, instead of printing "skipped corrupt data" forever when output is piped.
Adds a machine-information sidebar with live resource meters and top CPU processes; keyboard controls sort or filter processes, switch focus, hide the sidebar and restore its width.
wandb sync fails if there is no run to resume.
No longer overwrites earlier history of a resumed run when the server reports a stale step.
No longer hangs on its final sweep check against W&B Server instances that deduplicate sweep run configs.
wandb.init(resume="must") now works for offline runs.
Calling a pipeline it does not support no longer raises an error; the call is not logged.
Importing without the required library fails with an ImportError naming the missing package.
Imports again with ultralytics 8.3.200 and newer.
Works again with TensorFlow 2.16 and newer.
wandb 0.3041 changes
Breaking changes 14
Requests rejected with HTTP 402, including plan and quota limits, are no longer retried and report the error right away.
Collected as soon as a run starts instead of one sampling interval later, so short runs record system metrics and system charts no longer start with a gap.
In narrow terminals, hides the run overview sidebar and then the runs list when they would leave charts fewer than 24 columns wide.
When enabled for W&B LEET TUI, debug logs are written next to the LEET config file instead of the current directory.
No longer prints project descriptions.
The --settings output no longer includes the API key.
The legacy --job_type option was removed; use --job-type instead.
Legacy sync options were removed; run wandb sync with no arguments instead of wandb sync --sync-all.
Removed; use wandb.Api() instead.
Removed; use wandb.Api() instead.
Masks supplied as float arrays with values outside 0–255 now raise TypeError instead of being saved with incorrect class IDs.
No longer waits up to 5 seconds for the GPU and TPU metrics collector to start.
Removed; use wandb.Api() instead.
Removed; use wandb.Api() instead.
Deprecations 3
Deprecated and limited to api_key, default_entity and viewer(); use wandb.login(prompt=False) to check login status and wandb.Api() for other functionality.
Deprecated; use wandb.login(prompt=False) to check whether the user is logged in.
Deprecated and will be removed in a future release; use the cwsandbox package directly.
New APIs and options 3
W&B LEET TUI charts support custom x-axes defined with run.define_metric(...), including glob definitions, for runs opened from local .wandb files.
The automations API supports sending a prompt to ARIA as an automation action with this API.
W&B LEET TUI stores metrics, system metrics and runs filters in this file and reapplies them the next time the directory is opened; clearing a filter forgets it.
Performance 3
System metrics start about 1.5 seconds sooner after a run starts.
AMD GPU monitoring no longer runs rocm-smi up front or crashes when it reports no GPUs.
Long-run performance improved: a run with 100 metrics and 400k steps opens 10 times faster, frames render about 30 percent faster, and live chart updates no longer redraw every point.
Behavior and default changes 4
In W&B LEET TUI, press / in the focused logs pane to filter matching lines by regex or, after Tab, glob; new matches are followed and ctrl+/ clears the filter.
No longer sends usage telemetry in offline or disabled mode.
W&B LEET TUI no longer sends usage telemetry when WANDB_MODE is offline or disabled.
With prompt=False, uses configured credentials when available and returns False otherwise, without asking for an API key or switching to offline mode.
Tooling 1
Prints an error when it cannot start, such as without a terminal, instead of exiting with status 1 and no output; debug logs are written next to the LEET config file.
Fixes and other changes 13
M5 Pro and M5 Max Macs no longer report 0 efficiency cores; CPU utilization and frequency are collected for previously missing M5 efficiency and M5 Pro and M5 Max performance cores.
CPU utilization, frequency and power cover the whole sampling interval rather than a roughly 10 millisecond snapshot, correcting noisy utilization and frequency and overstated power.
Macs with 256 GB or more of RAM no longer report a memory size of 0 GB.
CPU and GPU temperatures are no longer skewed by invalid sensor readings.
Failed uploads no longer delete the files being uploaded, allowing wandb sync to retry; successful uploads clean up only files in the artifact staging directory.
Transfers taking longer than 20 seconds no longer fail with a service-process busy timeout error.
System metrics are collected while a notebook cell runs and paused between cells, correcting the swapped behavior introduced in 0.19.10.
CPU frequencies are no longer reported about 1000 times too high.
Passing aliases or tags to the public API no longer fails with a server error.
The top y-axis label is no longer cut off when it is wider than the other labels.
Syncing a run whose artifacts were already uploaded no longer fails when artifact files are no longer on disk.
Explains when a .wandb file ends with an incomplete record and how to retry, rather than reporting an internal error.
No longer stalls for up to 10 seconds when the W&B server is slow to respond.
wandb 0.2930 changes
Breaking changes 18
Raises UnsupportedError instead of CommError when the server does not support the given automation.
Rejects file or artifact names containing relative paths when downloading artifacts.
The macOS runtime requirement is now macOS 13 (Ventura) or newer.
Validate filter field names and reject unsupported field names.
The deprecated goal argument is removed; use summary="min" or summary="max" instead.
The deprecated summary="best" option and goal argument are removed; use summary="min" or summary="max" instead.
The deprecated quiet argument is removed; configure quiet with wandb.Settings instead.
The deprecated method is removed; use the run.project_url property instead.
The deprecated method is removed; use the run.sweep_url property instead.
The deprecated method is removed; use the run.url property instead.
The deprecated method is removed; use the run.project property instead.
The deprecated setting, which already had no effect, has been removed.
The deprecated .length property is removed; use len(...) instead.
The deprecated normalize argument is removed; callers must ensure NumPy array and PyTorch tensor pixel values are already in the range [0, 255].
No longer normalizes pixel values; callers must provide data in the range [0, 255].
The TensorBoard logging function has been removed.
The TensorFlow logging function has been removed.
Requires the format argument when initializing from a NumPy array, raw bytes, or an io object.
New APIs and options 8
Registry version queries accept an optional order string for organizations with advanced search, supporting created_at, artifact_size, and linked_at.
Returns when a version was linked to the relevant portfolio; it is valid only for linked versions and returns None for source artifacts.
Supports team and organization scopes for automations.
Sets LEET line-chart guides to a dotted background or horizontal lines aligned with axis ticks; the choice is saved.
Automations can be created and edited with a Registry object as their scope.
Reads the console output captured for a run, either the whole log or the last N lines, for finished and still-running runs.
Accepts MD5 or XXH128 as the digest algorithm; choosing XXH128 opts the artifact into that hashing when possible.
Allows GPU resource requests for sandboxes instead of rejecting resources.gpu client-side.
Behavior and default changes 1
The internal-process message format changed; restart the service after upgrading wandb to avoid failures when SDK and service versions differ.
Tooling 1
Browses raw records in a run's .wandb transaction log, follows live writes, and can print records through a pipe or redirect.
Fixes and other changes 2
Works for artifacts uploaded with wandb sync.
No longer fails for runs with nested values when keys are specified.
wandb 0.2867 changes
Breaking changes 18
The metric created when syncing TensorBoard files is no longer prefixed, making it easier to compare training and validation metrics.
Restricts job git source URLs to https/ssh remotes and pins git's protocol allowlist when fetching sources and updating submodules.
This new command replaces wandb sync --clean.
Login verifies credentials by default; verification can be disabled with --no-verify.
The command now exits with code 1 and hints that wandb clean is its replacement.
Releases no longer include 32-bit Windows wheels; use 64-bit Python on Windows.
Legacy fallback downloads on EOL W&B Server releases are removed; Artifact.files() and Artifact.download() no longer work there.
Legacy fallback file downloads on EOL W&B Server releases are removed for Artifact.get_entry() and Artifact.get_path() on non-reference artifacts.
Support for protobuf v4 is dropped; protobuf v5 or newer is required.
Compatibility with server versions older than 0.70.0 is dropped; upgrade to v0.70.0 or newer to continue using affected artifact operations.
Skips online runs by default, matching wandb sync.
Routes to wandb beta sync for supported parameter sets; pass --legacy to restore the original behavior.
Legacy fallback implementations for fetching artifacts by name or path on EOL W&B Server releases are removed.
Raises RunNotFoundError when unable to load data for a run, including when a run is deleted before its data finishes loading.
Artifact file operations consistently require normalized relative paths.
When images with multiple box layers and distinct class labels are logged in a table, each layer's labels are preserved in this per-layer field.
When images with multiple mask layers and distinct class labels are logged in a table, each layer's labels are preserved in this per-layer field.
Compatibility with server versions older than 0.65.0 is dropped.
Security 5
Debug logs no longer contain CoreWeave cluster credentials.
No longer passes the API key on the command line, where other users of the same machine could read it.
Validates API keys before saving them to the .netrc file.
For the local-process resource, job-supplied values are always shell-quoted to harden argument handling.
Verification now covers federated identity (identity token) credentials.
Deprecations 1
The --sync-tensorboard option is deprecated and will be removed in a later release.
New APIs and options 9
Adds the run.sync_dir API.
Adds a --term-timeout flag.
Set x_file_stream_no_gzip=False to opt in to gzip compression for filestream requests, reducing network traffic when the server supports it.
Accepts a filters parameter using the same format as the runs filter.
Lets callers programmatically request that an active run stop gracefully, like the Stop run button in the W&B App UI.
Fetches an Organization by name or fetches the user's current default organization.
The glob=False option disables glob expansion for file paths.
Press
lto link scrubbing so scrub keys move a shared cursor over the union step timeline and every image tile follows it.W&B LEET supports basic remote-run viewing by accepting a run URL.
Performance 2
Response parsing is faster for many API operations, including artifact and registry queries.
Runs no longer load Sweeps by default; Sweep data loads on first access of the
sweepproperty, improving query performance.
Behavior and default changes 9
Merges data for the same global_step into one W&B step when possible, producing fewer W&B steps.
On timeout, reports the error being retried instead of a generic timeout; init_timeout also bounds backend retries during run initialization.
Serverless sandboxes now default to a 12-hour maximum lifetime; override it per sandbox or through SandboxDefaults.
GPU, CPU, power, and temperature metrics are now collected on Apple M5 Macs.
File download progress is now shown when using this run API.
The
git_rootsetting is preferred when creatingdiff.patch;root_diris used as a fallback.Lists of images logged under a single key are displayed one tile per image.
High-resolution image rendering is available in terminals supporting the Kitty protocol, with ANSI fallback.
W&B LEET is generally available as
wandb leet;wandb beta leetremains an alias.
Fixes and other changes 23
Validates pagination arguments client-side before fetching results.
Federated identity requests now fail immediately with the server's error when token exchange is rejected, rather than retrying until a generic timeout.
Federated identity token files are re-read for each access token exchange so runs continue working when short-lived tokens are re-minted to the same path.
Wheels now include x86_64 builds of wandb-xpu and the Rust parquet library, allowing them to run or load on Intel Macs.
wandb login no longer removes or corrupts credentials belonging to other machines in the file.
Scopes per-registry collection and version queries to the current registry's internal id for more reliable pagination and filtering.
Captured log messages no longer add blank lines to a run's logs.
Deleting a summary key now removes metrics logged as nested values.
Sweeps agent now respects a custom WANDB_DIR when dumping JSON output.
No longer hangs on runs that set their name, tags, or notes after starting.
No longer updates system host settings when login fails, and reports failed checks instead of crashing after retries.
Raises WandbApiFailedError when the operation fails on the backend.
Federated identity authentication now works with an overridden base_url for non-default servers without also setting WANDB_BASE_URL.
Saving a linked registry artifact, such as when adding an alias, no longer fails when the caller lacks write access to the source project.
Fixes deadlocks reported with PyTorch and Python < 3.14, which uses the fork multiprocessing start method by default; deadlocks may also have occurred during GC with some wandb.Api functionality.
NaN values of np.float16 and np.float32 are recorded as NaN instead of being silently dropped, matching np.float64 and native float.
Uploaded files are now registered with the run on self-hosted servers, so they appear on deployments without object-store notifications.
Allow the in-progress run to complete before exiting when the sweep is deleted or Api() returns 404.
No longer fails with
WandbApiFailedError: relogin requiredfor some API keys.Logging an artifact writes its manifest file to the artifact staging directory instead of
$TMPDIR, avoiding silent failures when that directory is missing or unwritable.Downloads no longer fail after a hardcoded 5-second timeout; they go through wandb-core and respect file transfer settings.
No longer returns no rows when a run has history that has not been exported to parquet, such as an active run.
Logging artifacts in shared mode works again;
wandb.init(mode="shared")with code-saving enabled no longer raises an error.
wandb 0.2722 changes
Breaking changes 10
Stale OpenAI, Cohere, and LangChain LLM integrations, including legacy autologging and tracing APIs, were removed.
GraphQL operations now use wandb-core rather than the legacy Python client; failures raise WandbApiFailedError, and patching requests no longer affects these calls.
The unsupported importers API was removed.
The legacy YOLOv8 callback package was removed.
wandb.sandbox now rejects invalid argument values for placement, gpu, and egress.
The deprecated Keras callback was removed.
Pydantic v1 is no longer supported; pydantic >= 2.6 is required.
Python 3.9 is no longer supported.
This environment variable is removed.
The vendored wandb_orjson extension is removed.
New APIs and options 9
The automations API now supports artifact tag, collection tag, and artifact unlinking events.
Automatically captures logging.Logger logs using write_logs().
Adds a setting that controls the run finish timeout.
Adds a setting for whether a finish timeout raises an error.
Writes text directly to the Logs tab.
Stops a run using stop_fn after a fatal error prevents it from uploading metrics.
Adds a CLI command for using wandb sandbox.
Adds a package for using wandb sandbox.
Set this private setting to True to opt out of using cgroup v2 resource limits for Linux container system metric percentages.
Performance 1
Run.scan_history() now reads exported parquet history when available, which can significantly improve throughput for runs with large history.
Behavior and default changes 1
In Linux containers, percentages use cgroup v2 resource limits instead of host node totals.
Fixes and other changes 1
Fixed history scanning so it no longer returns duplicate or missing steps.
wandb 0.2630 changes
Breaking changes 2
Calling wandb.init with reinit="create_new" raises an error if another run in the same script with the same run ID is still running.
Dedicated Cloud and Self-Managed W&B deployments no longer support server versions older than 0.63.0.
New APIs and options 16
Methods returning artifacts, registries, automations, and related paginators accept an optional start cursor so iteration can resume from a saved cursor.
A setting lets developers customize how a run is stopped, overriding the default of sending SIGINT to the Python process.
Queries run status for a given sweep agent.
Allows media files to be symlinked or hardlinked to the run directory instead of copied, improving logging performance and reducing disk usage.
The W&B LEET TUI adds a bucketed heatmap mode for percentage-based system metrics such as GPU utilization.
The W&B LEET TUI adds the colorblind-friendly dusk-shore gradient and clear-signal cycle schemes, configurable with
wandb beta leet config.Prevents calculating git diff patch files against the closest ancestor commit when no upstream branch is set.
The W&B LEET TUI can display wandb.Image data as ANSI thumbnails with grid layout, X-axis scrubbing, fullscreen mode, and keyboard and mouse navigation.
Hopper+ GPUs (H100 and newer) gain profiling metrics for SM utilization, tensor/FP pipeline activity, DRAM bandwidth, and PCIe/NVLink throughput without requiring the DCGM daemon.
The W&B LEET TUI supports a per-chart Y-axis log scale, toggled on a selected chart with
y.The W&B LEET TUI supports filtering runs by metadata in multi-run workspace mode; activate it with
f.Programmatically pins selected config keys for display in a References section on the Run Overview page.
Queries active agents for a given sweep.
Direct TPU metric collection via libtpu.so FFI captures tensorcore_util, duty_cycle_pct, hbm_capacity_total, hbm_capacity_usage, and latency distributions; tensorcore_util is SDK-only and unavailable via gRPC.
Starts a detached wandb-core service that can be reused across multiple processes via WANDB_SERVICE.
Adds a standalone system monitor mode to the W&B LEET TUI.
Performance 1
JSON serialization and deserialization now use orjson for improved performance.
Behavior and default changes 2
Keyboard navigation is unified within focused panes: wasd and arrow keys are interchangeable, and Home, End, PgUp, and PgDn work universally; the media pane retains its split behavior.
The decorator now supports Kubeflow Pipelines v2 (
kfp>=2.0.0).
Tooling 2
The W&B LEET TUI run overview displays tags and notes.
The W&B LEET TUI adds multi-series overlays, inspection, and live/history zoom for system metrics.
Fixes and other changes 7
Some API operations no longer raise errors when offline mode is enabled through WANDB_MODE or the mode setting.
Fixes artifact client ID collisions in forked child processes by reseeding the fast ID generator after fork().
Fixes a deadlock when downloading artifacts with many large files.
Prevents run base color collisions in the W&B LEET TUI workspace.
No longer silently drops event filters, such as alias conditions on OnAddArtifactAlias, when a new event is provided.
Fixes API key generation for users with hashed API keys by using the existing authenticated client instead of querying non-secret key names.
Applies configured extra HTTP headers to presigned object-store upload and download requests.
wandb 0.2516 changes
Breaking changes 1
Python 3.8 is no longer supported.
New APIs and options 9
Supports filtering and ordering of collections.
Fetches filtered and ordered artifact collections in a project.
Adds a run console logs pane to the W&B LEET TUI, toggled with l.
Adds a system metrics pane in multi-run workspace mode, toggled with s.
Adds system metrics filtering to the W&B LEET TUI, toggled with \.
Adds a command to clean up cached files.
Adds an owner property to wandb.apis.public.Project for accessing the project owner's user information.
Adds a config editor to the W&B LEET TUI.
Adds a multi-run workspace experience in the W&B LEET TUI.
Behavior and default changes 1
Displays a warning when identical artifact content means no new version is created.
Fixes and other changes 5
Fixes AttributeError when accessing runs from an api.Runs iteration.
Fixes a rare deadlock triggered when garbage collection runs a printing __del__ method at an unlucky time.
Sweep agents now exit gracefully when a sweep is deleted instead of running indefinitely with repeated 404 errors.
TensorBoard sync no longer stops after 1 MB of data.
Crashes no longer produce extremely long, repetitive tracebacks in older Python versions.
wandb 0.2418 changes
Breaking changes 3
If a settings file contains an invalid setting, all settings files are ignored and an error is printed.
Runs created with this release may silently fail to upload data in rare cases. Upgrade to v0.24.1; missing data is stored in the run's .wandb file and can be recovered with wandb sync.
The deprecated module and its log_model(), use_model(), and link_model() functions were removed; use Run.log_artifact, Run.use_artifact, and Run.link_artifact instead.
New APIs and options 5
wandb.Api() now supports Federated Auth using JWT-based authentication.
Adds download_history_exports to api.Run to download exported run history in parquet file format.
The CLI accepts --forward-signals (or -f) to relay catchable signals from the agent to its sweep child runs for cleaner shutdowns.
The command supports --live to sync a run while it is being logged.
wandb.agent() accepts forward_signals to relay catchable signals, including SIGINT and SIGTERM, to sweep child runs for cleaner shutdowns.
Fixes and other changes 10
Presigned download URLs are refreshed when they expire during artifact file downloads.
Fixes occasional unuploaded data from runs created with wandb==0.24.0; missing data stored in the run's .wandb file can be reuploaded with wandb sync.
Correctly loads credentials, avoiding getting stuck on Syncing....
After login with an invalid host URL, login with a valid host URL works as usual.
Calling api.run() on a Sweeps run no longer encounters the regression.
Creating artifacts after random.seed() no longer triggers Invalid Client ID digest errors caused by deterministically seeded random state producing colliding client IDs.
The CLI error that occurred when listing empty artifacts was fixed.
Type annotations now accept None values passed when no exception is raised.
The message printed at the end of a run now includes a URL when it previously sometimes omitted one.
Runs queried from wandb.Api() now display a string representation in VSCode notebooks instead of a broken HTML window.
wandb 0.2323 changes
Breaking changes 2
Raises a UsageError when WANDB_IDENTITY_TOKEN_FILE is set and no explicit API key is provided.
Logging an artifact whose metadata contains infinite floats now raises ValueError early instead of waiting for request retries to time out.
Deprecations 1
Anonymous mode and its setting, environment variable, init and login arguments, and login flag are deprecated and emit warnings.
New APIs and options 7
Automations can be created and edited to trigger on run states.
The API supports basic zscore automation events.
A method on Run objects enables faster history scanning with wandb.Api.
Right-click and drag to inspect the nearest data point; hold Alt to synchronize inspection across visible charts.
The registry API supports programmatic management of user and team members of individual registries.
Registry objects now expose a read-only id property.
An experimental terminal UI lets you view W&B runs locally with real-time metrics visualization and system monitoring.
Performance 2
Instantiating Artifact objects is significantly faster.
Aliases are fetched lazily when accessed rather than when ArtifactCollection is instantiated, improving performance of collection-listing API calls.
Behavior and default changes 2
Metrics and run overview filters support regex matching.
Falls back to hardlinks and then copying when symlinks are disabled or unavailable, downgrading the live file policy to now when applicable.
Fixes and other changes 9
Empty strings are accepted instead of being rejected.
Correctly displays negative Y-axis tick values and base/display units of certain system metrics.
Calling wandb.Image() no longer prints a deprecation warning.
wandb.init uses the explicitly provided settings API key for login, and run.log_artifact uses the key from the run.
The syntax for creating z-score metric automation triggers is simplified.
The returned collection now reports the correct length when filtering by the names parameter.
Linking an unsaved artifact now logs it instead of raising an error, matching Run.link_artifact().
Automatic code saving now works for IPython notebooks run in VSCode's Jupyter notebook extension.
The progress numerator no longer occasionally exceeds the total file size.
wandb 0.2212 changes
New APIs and options 3
Adds a size-based setting for multipart console log file chunking.
Adds a time-based setting for multipart console log file chunking.
Registry API query methods accept
per_pageto override the default batch size for paginated results.
Performance 2
Delays downloading the artifact manifest and generating its download URL until the manifest is first used.
When the manifest has not been locally modified, can return without waiting to fetch the full manifest.
Behavior and default changes 1
An explicitly provided API key now takes priority over thread-local cached credentials.
Fixes and other changes 6
API keys longer than 40 characters are now supported.
Fixes uploading GCS folder references.
Fixes a rare deadlock in console capture.
The SDK infers notebook paths in Jupyter sessions using the server's root directory, allowing code saving in subdirectories.
Now properly returns a dict when calling
artifact.logged_by().Fixes sync sometimes stopping while tfevents files are being written live.