What's Changed
Notable Changes
This version drops support for protobuf v4, and requires protobuf v5 or newer.
This version drops compatibility with server versions older than 0.70.0.
Added
- New filters parameter to
Api().project().sweeps()matching the runs filter format (@kmikowicz-wandb in #12059) - Added
Run.stop()to the public API (wandb.Api().run(...).stop()) to programmatically request that an active run stop gracefully, like the "Stop run" button in the W&B App UI (@dmitryduev in #12159) - Added
wandb.Api().organization()to fetch anOrganizationby name, or the current default organization for the user (@tonyyli-wandb in #12196)
Changed
- Remove temporary Unix socket files and directories on shutdown (@geoffhardy in #12058)
wandb beta syncnow skips online runs by default likewandb sync(@timoffex in #12087)wandb syncnow routes towandb beta syncfor supported parameter sets (@timoffex in #12093)- Restore original behavior with
--legacy
- Restore original behavior with
- Dropped support for protobuf v4 (@jacobromero in #12115)
wandb.sandboxnow defaults serverless sandboxes to a 12-hour max lifetime (max_lifetime_seconds=43200); override per sandbox withmax_lifetime_secondsor viaSandboxDefaults(@nicholaspun-wandb in #12136)wandb.Api().runs()now raises aRunNotFoundErrorwhen unable to load data for a run, such as when a run is deleted prior to fully loading run data (@jacobromero in https://app.graphite.com/github/pr/wandb/wandb/12176)wandb.savenow has an optionglob=Falsethat disables glob expansion (*,?,[...]) for file paths; updated docs for improved explanation (@geoffhardy in #12192)
Removed
- Removed legacy fallback implementations for downloading artifact files on older EOL W&B Server releases. The following will no longer work on EOL servers:
Artifact.files()andArtifact.download()on any artifact, as well asArtifact.get_entry()/Artifact.get_path()file downloads on non-reference artifacts. (@tonyyli-wandb in #12109)- To continue using these operations, upgrade your W&B Server to
v0.70.0or newer.
- To continue using these operations, upgrade your W&B Server to
- Removed legacy fallback implementations for fetching an artifact by name on older EOL W&B Server releases. The following will no longer work on EOL servers:
wandb.Api().artifact(...)and other methods that fetch artifact(s) by their path. (@tonyyli-wandb in #12112)- To continue using these operations, upgrade your W&B Server to
v0.70.0or newer.
- To continue using these operations, upgrade your W&B Server to
- Removed the
GitPythondependency. Git metadata is collected by invoking thegitexecutable directly; theGIT_PYTHON_GIT_EXECUTABLEenvironment variable is still honored for locating it (@dmitryduev in #11983)
Fixed
- Saving a linked registry artifact (for example, when adding an alias) no longer fails when the caller lacks write access to the source project (@ibindlish in #12075)
np.float16/np.float32NaN values logged withRun.log()are now recorded asNaNinstead of being silently dropped, matchingnp.float64and nativefloat(@dmitryduev in #12116)Run.upload_file()(viawandb.Api().run(...)) now registers the uploaded file with the run on self-hosted servers. Previously the file's bytes were uploaded but never committed, so the file did not appear on the run on deployments without object-store notifications (@dmitryduev in #12121)- Sweep agents will now allow the in-progress run to complete before exiting when the sweep is deleted or Api() returns 404 (@kmikowicz-wandb in #11880)
- Fixed some deadlocks introduced in 0.25.1 (@timoffex in #12114 and #12159)
- Reported when using PyTorch with Python < 3.14 (which uses the "fork"
multiprocessingstart method by default) - May have also happened during GC when using some
wandb.Apifunctionality
- Reported when using PyTorch with Python < 3.14 (which uses the "fork"