Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 5, 2024

Note

Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to mend[bot].

This notice will be removed on 2025-10-07.


This PR contains the following updates:

Package Change Age Confidence
wandb ^0.18.0 -> ^0.22.0 age confidence

Release Notes

wandb/wandb (wandb)

v0.22.1

Compare Source

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 new lazy=True parameter (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_region option when creating artifacts. Users can use CoreWeave AI Object Storage by specifying wandb.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() and Api.artifact_collection_exists() now raise on encountering timeout errors, rather than (potentially erroneously) returning False. (@​tonyyli-wandb in #​10591)

v0.22.0

Compare Source

Notable Changes

This version removes support of MacOS 10.

Removed
  • Remove a build targeting MacOS 10.x due to multiple security and supply chain considerations (@​dmitryduev in #​10529)
Fixed
  • Resuming a run with a different active run will now raise an error unless you call run.finish() first, or call wandb.init() with the parameter reinit='create_new' (@​jacobromero in #​10468)
  • Fix Api().runs() for wandb server < 0.51.0 (when project.internalId was added to gql API) (@​kelu-wandb in #​10507)
  • Sweeps: command run scripts that import readline whether directly or indirectly (e.g. import torch on Python 3.13) should no longer deadlock (@​kelu-wandb in #​10489)

v0.21.4

Compare Source

Added
  • Add DSPy integration: track evaluation metrics over time, log predictions and program signature evolution to W&B Tables, and save DSPy programs as W&B Artifacts (complete program or state as JSON/PKL) (@​ayulockin in #​10327)

v0.21.3

Compare Source

Changed
Fixed
  • The message "Changes to your wandb environment variables will be ignored" is no longer printed when nothing changed (@​timoffex in #​10420)

v0.21.2

Compare Source

Notable Changes

This version raises errors that would previously have been suppressed during calls to Artifact.link() or Run.link_artifact(). While this prevents undetected failures in those methods, it is also a breaking change.

Added
  • New settings for max_end_of_run_history_metrics and max_end_of_run_summary_metrics (@​timoffex in #​10351)
  • New wandb.integration.weave module for automatically initializing Weave when a W&B run is active and weave is imported (@​andrewtruong in #​10389)
Changed
  • Errors encountered while linking an artifact are no longer suppressed/silenced, and Artifact.link() and Run.link_artifact() no longer return None (@​tonyyli-wandb in #​9968)
  • The "Run history" and "Run summary" printed at the end of a run are now limited to 10 metrics each (@​timoffex in #​10351)
Fixed
  • Dataclasses in a run's config no long raise Object of type ... is not JSON serializable when containing real classes as fields to the dataclass (@​jacobromero in #​10371)
  • Artifact.link() and Run.link_artifact() should be faster on server versions 0.74.0+, requiring 4-5 fewer unnecessary blocking GraphQL requests (@​tonyyli-wandb in #​10393).

v0.21.1

Compare Source

Notable Changes

The default ordering for Api().runs(...) and Api().sweeps(...) is now ascending order based on the runs created_at time.

Added
Changed
  • Sweep.name property will now return user-edited display name if available (falling back to original name from sweep config, then sweep ID as before) (@​kelu-wandb in #​10144)
  • Api().runs(...) and Api().sweeps(...) now returns runs in ascending order according to the runs created_at time. (@​jacobromero in #​10130)
  • Artifact with large file (>2GB) uploads faster by using parallel hashing on system with more cores (@​pingleiwandb in #​10136)
  • Remove the implementation of __bool__ for the registry iterators to align with python lazy iterators. (@​estellazx in #​10259)
Deprecated
  • The wandb.beta.workflows module and its contents (including log_model(), use_model(), and link_model()) are deprecated and will be removed in a future release (@​tonyyli-wandb in #​10205).
Fixed
  • Correct the artifact url for organization registry artifacts to be independent of the artifact type (@​ibindlish in #​10049)
  • Suffixes on sanitized InternalArtifact names have been shortened to 6 alphanumeric characters (@​tonyyli-wandb in #​10102)
  • wandb.Video will not print a progress spinner while encoding video when WANDB_SILENT/WANDB_QUIET environment variables are set (@​jacobromero in #​10064)
  • Fixed registries fetched using api.registries() from having an extra wandb-registry- prefix in the name and full_name fields (@​estellazx in #​10187)
  • Fixed a crash that could happen when using sync_tensorboard (@​timoffex in #​10199)
  • Api().run(...).upload_file no longer throws an error when uploading a file in a different path relative to the provided root directory (@​jacobromero in #​10228)
  • Calling load() function on a public API run object no longer throws TypeError. (@​jacobromero in #​10050)
  • When a Sweeps run function called by wandb.agent() API throws an exception, it will now appear on the logs page for the run. (This previously only happened for runs called by the wandb agent CLI command.) (@​kelu-wandb in #​10244)

v0.21.0

Compare Source

Notable Changes

This version removes the legacy implementation of the service process. This is a breaking change.

Added
  • Setting x_stats_track_process_tree to track process-specific metrics such as the RSS, CPU%, and thread count in use for the entire process tree, starting from x_stats_pid. This can be expensive and is disabled by default (@​dmitryduev in #​10089)
  • Notes are now returned to the client when resuming a run (@​kptkin in #​9739)
  • Added support for creating custom Vega chart presets through the API. Users can now define and upload custom chart specifications that can be then reused across runs with wandb.plot_table() (@​thanos-wandb in #​9931)
Changed
  • Calling Artifact.link() no longer instantiates a throwaway placeholder run (@​tonyyli-wandb in #​9828)
  • wandb now attempts to use Unix sockets for IPC instead of listening on localhost, making it work in environments with more restrictive permissions (such as Databricks) (@​timoffex in #​9995)
  • Api.artifact() will now display a warning while fetching artifacts from migrated model registry collections (@​ibindlish in #​10047)
  • The .length for objects queried from wandb.Api has been deprecated. Use len(...) instead (@​jacobromero in #​10091)
Removed
  • Removed the legacy python implementation of the service process. The legacy-service option of wandb.require as well as the x_require_legacy_service and x_disable_setproctitle settings with the corresponding environment variables have been removed and will now raise an error if used (@​dmitryduev in #​9965)

  • Removed the private wandb.Run._metadata attribute. To override the auto-detected CPU and GPU counts as well as the GPU type, please use the new settings x_stats_{cpu_count,cpu_logical_count,gpu_count,gpu_type} (@​dmitryduev in #​9984)

Fixed
  • Allow s3 style CoreWeave URIs for reference artifacts (@​estellazx in #​9979)
  • Fixed rare bug that made Ctrl+C ineffective after logging large amounts of data (@​timoffex in #​10071)
  • Respect silent, quiet, and show_warnings settings passed to a Run instance for warnings emitted by the service process (@​kptkin in #​10077)
  • api.Runs no longer makes an API call for each run loaded from W&B (@​jacobromero in #​10087)
  • Correctly parse the x_extra_http_headers setting from the env variable (@​dmitryduev in #​10103)
  • .length calls the W&B backend to load the length of objects when no data has been loaded rather than returning None (@​jacobromero in #​10091)

v0.20.1

Compare Source

Fixed
  • wandb.Image() was broken in 0.20.0 when given NumPy arrays with values in the range [0, 1], now fixed (@​timoffex in #​9982)

v0.20.0

Compare Source

Fixed
  • wandb.Image() was broken in 0.20.0 when given NumPy arrays with values in the range [0, 1], now fixed (@​timoffex in #​9982)

v0.19.11

Compare Source

Added
  • Added creation, deletion, and updating of registries in the SDK. (@​estellazx in #​9453)
  • artifact.is_link property to artifacts to determine if an artifact is a link artifact (such as in the Registry) or source artifact. (@​estellazx in #​9764)
  • artifact.linked_artifacts to fetch all the linked artifacts to a source artifact and artifact.source_artifact to fetch the source artifact of a linked artifact. (@​estellazx in #​9789)
  • run.link_artifact(), artifact.link(), and run.link_model() all return the linked artifact upon linking (@​estellazx in #​9763)
  • Multipart download for artifact file larger than 2GB, user can control it directly using artifact.download(multipart=True). (@​pingleiwandb in #​9738)
  • Project.id property to get the project ID on a wandb.public.Project (@​tonyyli-wandb in #​9194).
  • New public API for W&B Automations (@​tonyyli-wandb in #​9693, #​8935, #​9194, #​9197, #​8896, #​9246)
    • New submodules and classes in wandb.automations.* to support programmatically managing W&B Automations.
    • Api.integrations(), Api.slack_integrations(), Api.webhook_integrations() to fetch a team's existing Slack or webhook integrations.
    • Api.create_automation(), Api.automation()/Api.automations(), Api.update_automation(), Api.delete_automation() to create, fetch, edit, and delete Automations.
  • Create and edit automations triggered on RUN_METRIC_CHANGE events, i.e. on changes in run metric values (absolute or relative deltas). (@​tonyyli-wandb in #​9775)
  • Ability to collect profiling metrics for Nvidia GPUs using DCGM. To enable, set the WANDB_ENABLE_DCGM_PROFILING environment variable to true. Requires the nvidia-dcgm service to be running on the machine. Enabling this feature can lead to increased resource usage. (@​dmitryduev in #​9780)
Fixed
  • run.log_code correctly sets the run configs code_path value. (@​jacobromero in #​9753)
  • Correctly use WANDB_CONFIG_DIR for determining system settings file path (@​jacobromero in #​9711)
  • Prevent invalid Artifact and ArtifactCollection names (which would make them unloggable), explicitly raising a ValueError when attempting to assign an invalid name. (@​tonyyli-wandb in #​8773)
  • Prevent pydantic ConfigError in Pydantic v1 environments from not calling .model_rebuild()/.update_forward_refs() on generated types with ForwardRef fields (@​tonyyli-wandb in #​9795)
  • wandb.init() no longer raises Permission denied error when the wandb directory is not writable or readable (@​jacobromero in #​9751)
  • Calling file.delete() on files queried via api.Runs(...) no longer raises CommError (@​jacobromero in #​9748)
    • Bug introduced in 0.19.1

v0.19.10

Compare Source

Added
  • The new reinit="create_new" setting causes wandb.init() to create a new run even if other runs are active, without finishing the other runs (in contrast to reinit="finish_previous"). This will eventually become the default (@​timoffex in #​9562)
  • Added Artifact.history_step to return the nearest run step at which history metrics were logged for the artifact's source run (@​ibindlish in #​9732)
  • Added data_is_not_path flag to skip file checks when initializing wandb.Html with a sting that points to a file.
Changed
  • Artifact.download() no longer raises an error when using WANDB_MODE=offline or when an offline run exists (@​timoffex in #​9695)
Removed
  • Dropped the -q / --quiet argument to the wandb magic in IPython / Jupyter; use the quiet run setting instead (@​timoffex in #​9705)
Deprecated
  • The following wandb.Run methods are deprecated in favor of properties and will be removed in a future release (@​kptkin in #​8925):
    • run.project_name() is deprecated in favor of run.project
    • run.get_url() method is deprecated in favor of run.url
    • run.get_project_url() method is deprecated in favor of run.project_url
    • run.get_sweep_url() method is deprecated in favor of run.sweep_url
Fixed

v0.19.9

Compare Source

Added
  • The reinit setting can be set to "default" (@​timoffex in #​9569)
  • Added support for building artifact file download urls using the new url scheme, with artifact collection membership context (@​ibindlish in #​9560)
Changed
  • Boolean values for the reinit setting are deprecated; use "return_previous" and "finish_previous" instead (@​timoffex in #​9557)
  • The "wandb" logger is configured with propagate=False at import time, whereas it previously happened when starting a run. This may change the messages observed by the root logger in some workflows (@​timoffex in #​9540)
  • Metaflow now requires plum-dispatch package. (@​jacobromero in #​9599)
  • Relaxed the pydantic version requirement to support both v1 and v2 (@​dmitryduev in #​9605)
  • Existing pydantic types have been adapted to be compatible with Pydantic v1 (@​tonyyli-wandb in #​9623)
  • wandb.init(dir=...) now creates any nonexistent directories in dir if it has a parent directory that is writeable (@​ringohoffman in #​9545)
  • The server now supports fetching artifact files by providing additional collection information; updated the artifacts api to use the new endpoints instead (@​ibindlish in #​9551)
  • Paginated methods (and underlying paginators) that accept a per_page argument now only accept int values. Default per_page values are set directly in method signatures, and explicitly passing None is no longer supported (@​tonyyli-wandb in #​9201)
Fixed
  • Calling wandb.init() in a notebook finishes previous runs as previously documented (@​timoffex in #​9569)
    • Bug introduced in 0.19.0
  • Fixed an error being thrown when logging jpg/jpeg images containing transparency data (@​jacobromero in #​9527)
  • wandb.init(resume_from=...) now works without explicitly specifying the run's id (@​kptkin in #​9572)
  • Deleting files with the Public API works again (@​jacobromero in #​9604)
    • Bug introduced in 0.19.1
  • Fixed media files not displaying in the UI when logging to a run with a custom storage bucket (@​jacobromero in #​9661)

v0.19.8

Compare Source

Fixed
  • Media file paths containing special characters (?, *, ], [ or \) no longer cause file uploads to fail in wandb-core (@​jacobromero in #​9475)
Changed
  • The system monitor now samples metrics every 15 seconds by default, up from 10 seconds (@​kptkin in #​9554)

v0.19.7

Compare Source

Added
Changed
Removed
Fixed
  • Fixed incorrect logging of an "wandb.Video requires moviepy [...]" exception when using moviepy v2. (@​Daraan in #​9375)
  • wandb.setup() correctly starts up the internal service process; this semantic was unintentionally broken in 0.19.2 (@​timoffex in #​9436)
  • Fixed TypeError: Object of type ... is not JSON serializable when using numpy number types as values. (@​jacobromero in #​9487)

v0.19.6

Compare Source

Added
Changed
Fixed
  • Fixed a performance issue causing slow instantiation of wandb.Artifact, which in turn slowed down fetching artifacts in various API methods. (@​tonyyli-wandb in #​9355)
  • Some errors from wandb.Api have better string representations (@​timoffex in #​9361)
  • Artifact.add_reference, when used with file URIs for a directory and the name parameter, was incorrectly adding the value of name to the path of the file references (@​ssisk in #​9378)
  • Fixed a bug causing Artifact.add_reference() with checksum=False to log new versions of local reference artifacts without changes to the reference URI. (@​tonyyli-wandb in #​9326)

v0.19.5

Compare Source

Added
  • Added wandb login --base-url {host_url} to login as an alias of wandb login --host {host_url}. (@​jacobromero in #​9323)
Changed
Fixed
  • Fixed a bug causing offline mode to make network requests when logging media artifacts. If you are using an older version of W&B Server that does not support offline artifact uploads, use the setting allow_offline_artifacts=False to revert to older compatible behavior. (@​domphan-wandb in #​9267)
  • Expand sanitization rules for logged table artifact name to allow for hyphens and dots. This update brings the rules up-to-date with the current rules for artifact names. (Allowing letters, numbers, underscores, hyphens, and dots) (@​nicholaspun-wandb in #​9271)
  • Correctly handle run rewind settings fork_from and resume_from. (@​dmitryduev in #​9331)

v0.19.4

Compare Source

Fixed
  • Fix incorrectly reported device counts and duty cycle measurements for TPUs with single devices per chip / multiple devices on the host and make TPU metrics sampling more robust (@​dmitryduev in #​9266)
  • Handle non-consecutive TPU device IDs in system monitor (@​dmitryduev in #​9276)

v0.19.3

Compare Source

Fixed
  • Fix wandb.Settings update regression in wandb.integration.metaflow (@​kptkin in #​9211)

v0.19.2

Compare Source

Added
Changed
Removed
Fixed
  • Fixed incorrect logging of an "wandb.Video requires moviepy [...]" exception when using moviepy v2. (@​Daraan in #​9375)
  • wandb.setup() correctly starts up the internal service process; this semantic was unintentionally broken in 0.19.2 (@​timoffex in #​9436)
  • Fixed TypeError: Object of type ... is not JSON serializable when using numpy number types as values. (@​jacobromero in #​9487)

v0.19.1

Compare Source

Added
  • Added creation, deletion, and updating of registries in the SDK. (@​estellazx in #​9453)
  • artifact.is_link property to artifacts to determine if an artifact is a link artifact (such as in the Registry) or source artifact. (@​estellazx in #​9764)
  • artifact.linked_artifacts to fetch all the linked artifacts to a source artifact and artifact.source_artifact to fetch the source artifact of a linked artifact. (@​estellazx in #​9789)
  • run.link_artifact(), artifact.link(), and run.link_model() all return the linked artifact upon linking (@​estellazx in #​9763)
  • Multipart download for artifact file larger than 2GB, user can control it directly using artifact.download(multipart=True). (@​pingleiwandb in #​9738)
  • Project.id property to get the project ID on a wandb.public.Project (@​tonyyli-wandb in #​9194).
  • New public API for W&B Automations (@​tonyyli-wandb in #​9693, #​8935, #​9194, #​9197, #​8896, #​9246)
    • New submodules and classes in wandb.automations.* to support programmatically managing W&B Automations.
    • Api.integrations(), Api.slack_integrations(), Api.webhook_integrations() to fetch a team's existing Slack or webhook integrations.
    • Api.create_automation(), Api.automation()/Api.automations(), Api.update_automation(), Api.delete_automation() to create, fetch, edit, and delete Automations.
  • Create and edit automations triggered on RUN_METRIC_CHANGE events, i.e. on changes in run metric values (absolute or relative deltas). (@​tonyyli-wandb in #​9775)
  • Ability to collect profiling metrics for Nvidia GPUs using DCGM. To enable, set the WANDB_ENABLE_DCGM_PROFILING environment variable to true. Requires the nvidia-dcgm service to be running on the machine. Enabling this feature can lead to increased resource usage. (@​dmitryduev in #​9780)
Fixed
  • run.log_code correctly sets the run configs code_path value. (@​jacobromero in #​9753)
  • Correctly use WANDB_CONFIG_DIR for determining system settings file path (@​jacobromero in #​9711)
  • Prevent invalid Artifact and ArtifactCollection names (which would make them unloggable), explicitly raising a ValueError when attempting to assign an invalid name. (@​tonyyli-wandb in #​8773)
  • Prevent pydantic ConfigError in Pydantic v1 environments from not calling .model_rebuild()/.update_forward_refs() on generated types with ForwardRef fields (@​tonyyli-wandb in #​9795)
  • wandb.init() no longer raises Permission denied error when the wandb directory is not writable or readable (@​jacobromero in #​9751)
  • Calling file.delete() on files queried via api.Runs(...) no longer raises CommError (@​jacobromero in #​9748)
    • Bug introduced in 0.19.1

v0.19.0

Compare Source

Notable Changes

This version drops Python 3.7 and removes the wandb.Run.plot_table method.
This version adds pydantic>=2.6,<3 as a dependency.

Changed
Removed
  • Remove wandb.Run.plot_table method. The functionality is still available and should be accessed using wandb.plot_table, which is now the recommended way to use this feature. (@​kptkin in #​8686)
  • Drop support for Python 3.7. (@​kptkin in #​8858)
Fixed
  • Fix ultralytics reporting if there are no positive examples in a validation batch. (@​Jamil in #​8870)
  • Debug printing for hyperband stopping algorithm printed one char per line (@​temporaer in #​8955)
  • Include the missing log_params argument when calling lightgbm's wandb_callback function. (@​i-aki-y #​8943)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/wandb-0.x branch from 8a7e6c4 to fcff0f4 Compare December 10, 2024 01:35
@renovate renovate bot force-pushed the renovate/wandb-0.x branch from fcff0f4 to 98ccdb2 Compare December 13, 2024 09:15
@renovate renovate bot changed the title Update dependency wandb to ^0.19.0 Update dependency wandb to ^0.19.0 - autoclosed Dec 30, 2024
@renovate renovate bot closed this Dec 30, 2024
@renovate renovate bot deleted the renovate/wandb-0.x branch December 30, 2024 14:10
@renovate renovate bot changed the title Update dependency wandb to ^0.19.0 - autoclosed Update dependency wandb to ^0.19.0 Jan 2, 2025
@renovate renovate bot reopened this Jan 2, 2025
@renovate renovate bot force-pushed the renovate/wandb-0.x branch 2 times, most recently from 98ccdb2 to 921f57f Compare January 2, 2025 12:29
@renovate renovate bot changed the title Update dependency wandb to ^0.19.0 Update dependency wandb to ^0.20.0 Jun 3, 2025
@renovate renovate bot force-pushed the renovate/wandb-0.x branch from 921f57f to 433d64b Compare June 3, 2025 22:03
@renovate renovate bot force-pushed the renovate/wandb-0.x branch from 433d64b to aee9636 Compare July 2, 2025 03:57
@renovate renovate bot changed the title Update dependency wandb to ^0.20.0 Update dependency wandb to ^0.21.0 Jul 2, 2025
@renovate renovate bot force-pushed the renovate/wandb-0.x branch from aee9636 to 5e64c1c Compare August 7, 2025 21:57
@renovate renovate bot force-pushed the renovate/wandb-0.x branch from 5e64c1c to c8464f9 Compare August 31, 2025 10:22
@renovate renovate bot force-pushed the renovate/wandb-0.x branch from c8464f9 to 275a112 Compare September 13, 2025 02:54
@renovate renovate bot force-pushed the renovate/wandb-0.x branch from 275a112 to 3fc7e28 Compare September 18, 2025 21:02
@renovate renovate bot changed the title Update dependency wandb to ^0.21.0 Update dependency wandb to ^0.22.0 Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants