Releases: wandb/wandb
Releases · wandb/wandb
v0.25.1
What's Changed
Added
- Run console logs pane in W&B LEET TUI (
wandb beta leetcommand, toggle withl). (@dmitryduev in #11345) - System metrics pane in multi-run workspace mode in W&B LEET TUI (
wandb beta leetcommand, toggle withs). (@dmitryduev in #11391) - System metrics filtering in W&B LEET TUI (
wandb beta leetcommand, toggle with\). (@dmitryduev in #11391) ArtifactType.collections()now supports filtering and ordering of collections. (@amusipatla-wandb in #11268)- Warning message when
run.log_artifactdoes not create a new version because the artifact content is identical to an existing version. (@pingleiwandb in #11340) Project.collections()to fetch filtered and ordered artifact collections in a project. (@amusipatla-wandb in #11319)wandb purge-cachecommand to clean up cached files (@jacobromero in #10996)
Fixed
- Fixed a rare deadlock caused when GC triggers at an unlucky time and runs a
__del__method that prints (@timoffex in #11402) api.Run.userraisingAttributeErrorwhen accessing runs from anapi.Runsiteration (@jacobromero in #11439)
v0.25.0
What's Changed
Notable Changes
This version drops support for Python 3.8.
Added
- Multi-run workspace experience in W&B LEET TUI (
wandb beta leetcommand). (@dmitryduev in #11299) - Config editor for W&B LEET TUI (
wandb beta leet configcommand). (@dmitryduev in #11327) ownerproperty onwandb.apis.public.Projectto access the project owner's user information. (@jacobromero in #11278)
Changed
- Python 3.8 is no longer supported (@tonyyli-wandb in #11198, #11290, #11164)
Fixed
- Sweep agents now exit gracefully when the sweep is deleted, instead of running indefinitely with repeated 404 errors (@domphan-wandb in #11226)
wandb-corecrashes no longer produce extremely long, repetitive tracebacks in older Python versions (@timoffex in #11284)- TensorBoard sync no longer stops after 1 MB of data (@timoffex in #11334)
- Regression introduced in 0.24.0
v0.24.2
What's Changed
Added
- wandb.Api() now supports Federated Auth (JWT based authentication). (@RyanBuccellato in #11243)
Fixed
- Refresh presigned download url when it expires during artifact file downloads. (@pingleiwandb in #11242)
v0.24.1
What's Changed
Notable Changes
Runs created with wandb==0.24.0 may fail to upload some data, which this release fixes. Missing data is stored in the run's .wandb file and can be reuploaded with wandb sync.
Added
download_history_exportsinapi.Runclass to download exported run history in parquet file format (@jacobromero in #11094)
Changed
- When a settings file (such as
./wandb/settingsor~/.config/wandb/settings) contains an invalid setting, all settings files are ignored and an error is printed (@timoffex in #11207)
Fixed
- After
wandb login --host <invalid-url>, usingwandb login --host <valid-url>works as usual (@timoffex in #11207)- Regression introduced in 0.24.0
wandb beta synccorrectly loads credentials (@timoffex in #11231)- Regression introduced in 0.24.0
- Caused
wandb beta syncto get stuck onSyncing...
- Fixed occasional unuploaded data in 0.24.0 (@timoffex in #11249)
- All data is stored in the run's
.wandbfile and can be reuploaded withwandb sync
- All data is stored in the run's
v0.24.0
Do not use this version. Runs created with wandb==0.24.0 may in rare cases silently fail to upload data. Upgrade immediately to v0.24.1, which fixes this issue. If you've already used this version, missing data is stored in the run's .wandb file and can be recovered with wandb sync.
What's Changed
Notable Changes
This version removes the legacy, deprecated wandb.beta.workflows module, including its log_model()/use_model()/link_model() functions. This is formally a breaking change.
Added
wandb agentandwandb.agent()now accept aforward_signalsflag (CLI:--forward-signals/-f) to relay SIGINT/SIGTERM and other catchable signals from the agent to its sweep child runs, enabling cleaner shutdowns when you interrupt an agent process (@KyleGoyette, @domphan-wandb in #9651)wandb beta syncnow supports a--liveoption for syncing a run while it's being logged (@timoffex in #11079)
Removed
- Removed the deprecated
wandb.beta.workflowsmodule, including itslog_model(),use_model(), andlink_model()functions, and whose modern successors are theRun.log_artifact,Run.use_artifact, andRun.link_artifactmethods, respectively (@tonyyli-wandb in [TODO: PR link])
Fixed
- Fixed
Run.__exit__type annotations to acceptNonevalues, which are passed when no exception is raised (@moldhouse in #11100) - Fixed
Invalid Client ID digesterror when creating artifacts after callingrandom.seed(). Client IDs could collide when random state was seeded deterministically. (@pingleiwandb in #11039) - Fixed CLI error when listing empty artifacts (@ruhiparvatam in #11157)
- Fixed regression for calling
api.run()on a Sweeps run (@willtryagain in #11088 and @kelu-wandb in #11097) - Fixed the "View run at" message printed at the end of a run which sometimes did not include a URL (@timoffex in #11113)
- Runs queried from wandb.Api() now display a string representation in VSCode notebooks instead of a broken HTML window (@jacobromero in #11040)
v0.23.1
What's Changed
Added
- Regex support in metrics and run overview filters in W&B LEET TUI (@dmitryduev in #10919)
- Chart inspection in W&B LEET TUI: right-click and drag to show (x, y) at the nearest data point; hold Alt for synchronized inspection across all visible charts (@dmitryduev in #10989)
- The automations API now supports creating and editing automations that trigger on run states (@tonyyli-wandb in #10848)
- The automations API now support basic zscore automation events (@matthoare117-wandb in #10931)
- Simplified the syntax for creating z-score metric automation triggers in the automations API (@matthoare117-wandb in #10953)
beta_history_scanmethod toRunobjects for faster history scanning performance withwandb.Api(@jacobromero in #10779)
Changed
wandb.Api()now raises aUsageErrorifWANDB_IDENTITY_TOKEN_FILEis set and an explicit API key is not provided (@timoffex in #10970)wandb.Api()has only ever worked using an API key
Deprecated
- Anonymous mode, including the
anonymoussetting, theWANDB_ANONYMOUSenvironment variable,wandb.init(anonymous=...),wandb login --anonymouslyandwandb.login(anonymous=...)is deprecated and will emit warnings (@timoffex in #10909)
Fixed
wandb.Image()no longer prints a deprecation warning (@jacobromero in #10880)Registry.descriptionandArtifactCollection.descriptionno longer reject empty strings (@tonyyli-wandb in #10891)- Instantiating
Artifactobjects is now significantly faster (@tonyyli-wandb in #10819) wandb.Run.save()now falls back to hardlinks and, if needed, copying (downgrading the 'live' file policy to 'now', if applicable) when symlinks are disabled or unavailable (e.g., cross‑volume or no Developer Mode on Windows) (@dmitryduev in #10894)- Artifact collection aliases are now fetched lazily on accessing
ArtifactCollection.aliasesinstead of on instantiatingArtifactCollection, improving performance ofApi.artifact_collections(),Api.registries().collections(), etc. (@tonyyli-wandb in #10731) - Use explicitly provided API key in
wandb.init(settings=wandb.Settings(api_key="..."))for login. Use the key from run when logging artifacts viarun.log_artifact(@pingleiwandb in #10914) - W&B LEET TUI correctly displays negative Y axis tick values and base/display units of certain system metrics (@dmitryduev in #10905)
- Fixed a rare infinite loop in
console_capture.py(@timoffex in #10955) - File upload/download now respects
WANDB_X_EXTRA_HTTP_HEADERSexcept for reference artifacts
v0.23.0
What's Changed
Added
- Experimental
wandb beta leetcommand - Lightweight Experiment Exploration Tool - a terminal UI for viewing W&B runs locally with real-time metrics visualization and system monitoring (@dmitryduev in #10764) - The registry API now supports programmatic management of user and team members of individual registries. (@tonyyli-wandb in #10542)
Registry.idhas been added as a (read-only) property ofRegistryobjects (@tonyyli-wandb in #10785).
Fixed
Artifact.files()now has a correctlen()when filtering by thenamesparameter (@matthoare117-wandb in #10796)- The numerator for file upload progress no longer occasionally exceeds the total file size (@timoffex in #10812)
Artifact.link()now logs unsaved artifacts instead of raising an error, consistent with the behavior ofRun.link_artifact()(@tonyyli-wandb in https://github.com/wandb/wandb/10822)- Automatic code saving now works when running ipython notebooks in VSCode's Jupyter notebook extension (@jacobromero in #10746)
- Logging an artifact with infinite floats in
Artifact.metadatanow raises aValueErrorearly, instead of waiting on request retries to time out (@tonyyli-wandb in #10845).
v0.22.3
What's Changed
Added
- Settings
console_chunk_max_secondsandconsole_chunk_max_bytesfor size- and time-based multipart console logs file chunking (@dmitryduev in #10162) - Registry API query methods (
Api.registries(),Registry.{collections,versions}(),Api.registries().{collections,versions}()) now accept aper_pagekeyword arg to override the default batch size for paginated results (@tonyyli-wandb in #10713).
Changed
- API keys longer than 40 characters are now supported. (@jennwandb in #10688)
Fixed
run.confignow properly returns a dict when callingartifact.logged_by()in v0.22.1 (@thanos-wandb in #10682)wandb.Api(api_key=...)now prioritizes the explicitly provided API key over thread-local cached credentials (@pingleiwandb in #10657)- Fixed a rare deadlock in
console_capture.py(@timoffex in #10683)- If you dump thread tracebacks during the deadlock and see the
wandb-AsyncioManager-mainthread stuck on a line inconsole_capture.py: this is now fixed.
- If you dump thread tracebacks during the deadlock and see the
- Fixed an issue where TensorBoard sync would sometimes stop working if the tfevents files were being written live (@timoffex in #10625)
Artifact.manifestdelays downloading and generating the download URL for the artifact manifest until it's first used. If the manifest has not been locally modified,Artifact.sizeandArtifact.digestcan return without waiting to fetch the full manifest (@tonyyli-wandb in #10680)- Fixed uploading GCS folder references via
artifact.add_reference(@amusipatla-wandb in #10679) - The SDK now correctly infers notebooks paths in Jupyter sessions, using th server's root directory, so code saving works in subdirectories (e.g. code/nested/.ipynb) (@jacobromero in #10709)
v0.22.2
What's Changed
Fixed
- Possibly fixed some cases where the
output.logfile was not being uploaded (@timoffex in #10620) - Fixed excessive data uploads when calling
run.save()repeatedly on unchanged files (@dmitryduev in #10639)
v0.22.1
What's Changed
Added
- Optimize artifacts downloads re-verification with checksum caching (@thanos-wandb in #10157)
- Lazy loading support for
Api().runs()to improve performance when listing runs. The newlazy=Trueparameter (default) loads only essential metadata initially, with automatic on-demand loading of heavy fields like config and summary when accessed (@thanos-wandb in #10034) - Add
storage_regionoption when creating artifacts. Users can use CoreWeave AI Object Storage by specifyingwandb.Artifact(storage_region="coreweave-us")when using wandb.ai for faster artifact upload/download on CoreWeave's infrastructure. (@pingleiwandb in #10533)
Fixed
Api.artifact_exists()andApi.artifact_collection_exists()now raise on encountering timeout errors, rather than (potentially erroneously) returningFalse. (@tonyyli-wandb in #10591)