Update dependency wandb to ^0.22.0 #227
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
^0.18.0
->^0.22.0
Release Notes
wandb/wandb (wandb)
v0.22.1
Compare Source
Added
Api().runs()
to improve performance when listing runs. The newlazy=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)storage_region
option 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)v0.22.0
Compare Source
Notable Changes
This version removes support of MacOS 10.
Removed
Fixed
run.finish()
first, or callwandb.init()
with the parameterreinit='create_new'
(@jacobromero in #10468)Api().runs()
for wandb server < 0.51.0 (whenproject.internalId
was added to gql API) (@kelu-wandb in #10507)command
run scripts thatimport 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
v0.21.3
Compare Source
Changed
click
dependency constraint from>=7.1
to>=8.0.1
(@willtryagain in #10418)Fixed
v0.21.2
Compare Source
Notable Changes
This version raises errors that would previously have been suppressed during calls to
Artifact.link()
orRun.link_artifact()
. While this prevents undetected failures in those methods, it is also a breaking change.Added
max_end_of_run_history_metrics
andmax_end_of_run_summary_metrics
(@timoffex in #10351)wandb.integration.weave
module for automatically initializing Weave when a W&B run is active andweave
is imported (@andrewtruong in #10389)Changed
Artifact.link()
andRun.link_artifact()
no longer returnNone
(@tonyyli-wandb in #9968)Fixed
config
no long raiseObject of type ... is not JSON serializable
when containing real classes as fields to the dataclass (@jacobromero in #10371)Artifact.link()
andRun.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(...)
andApi().sweeps(...)
is now ascending order based on the runscreated_at
time.Added
first
summary option indefine_metric
(@kptkin in #10121)pattern
parameter toApi().run().files
to only get files matching a given pattern from the W&B backend (@jacobromero in #10163)format
key to Launch input JSONSchema to specify a string with a secret format (@domphan-wandb in #10207)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(...)
andApi().sweeps(...)
now returns runs in ascending order according to the runscreated_at
time. (@jacobromero in #10130)__bool__
for the registry iterators to align with python lazy iterators. (@estellazx in #10259)Deprecated
wandb.beta.workflows
module and its contents (includinglog_model()
,use_model()
, andlink_model()
) are deprecated and will be removed in a future release (@tonyyli-wandb in #10205).Fixed
InternalArtifact
names have been shortened to 6 alphanumeric characters (@tonyyli-wandb in #10102)wandb.Video
will not print a progress spinner while encoding video whenWANDB_SILENT
/WANDB_QUIET
environment variables are set (@jacobromero in #10064)api.registries()
from having an extrawandb-registry-
prefix in the name and full_name fields (@estellazx in #10187)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)load()
function on a public API run object no longer throwsTypeError
. (@jacobromero in #10050)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 thewandb 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
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 fromx_stats_pid
. This can be expensive and is disabled by default (@dmitryduev in #10089)Changed
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).length
for objects queried fromwandb.Api
has been deprecated. Uselen(...)
instead (@jacobromero in #10091)Removed
Removed the legacy python implementation of the
service
process. Thelegacy-service
option ofwandb.require
as well as thex_require_legacy_service
andx_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 settingsx_stats_{cpu_count,cpu_logical_count,gpu_count,gpu_type}
(@dmitryduev in #9984)Fixed
silent
,quiet
, andshow_warnings
settings passed to aRun
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)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 returningNone
(@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
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 andartifact.source_artifact
to fetch the source artifact of a linked artifact. (@estellazx in #9789)run.link_artifact()
,artifact.link()
, andrun.link_model()
all return the linked artifact upon linking (@estellazx in #9763)artifact.download(multipart=True)
. (@pingleiwandb in #9738)Project.id
property to get the project ID on awandb.public.Project
(@tonyyli-wandb in #9194).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.RUN_METRIC_CHANGE
events, i.e. on changes in run metric values (absolute or relative deltas). (@tonyyli-wandb in #9775)WANDB_ENABLE_DCGM_PROFILING
environment variable totrue
. Requires thenvidia-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 configscode_path
value. (@jacobromero in #9753)WANDB_CONFIG_DIR
for determining system settings file path (@jacobromero in #9711)Artifact
andArtifactCollection
names (which would make them unloggable), explicitly raising aValueError
when attempting to assign an invalid name. (@tonyyli-wandb in #8773)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 raisesPermission denied
error when the wandb directory is not writable or readable (@jacobromero in #9751)file.delete()
on files queried viaapi.Runs(...)
no longer raisesCommError
(@jacobromero in #9748)v0.19.10
Compare Source
Added
reinit="create_new"
setting causeswandb.init()
to create a new run even if other runs are active, without finishing the other runs (in contrast toreinit="finish_previous"
). This will eventually become the default (@timoffex in #9562)Artifact.history_step
to return the nearest run step at which history metrics were logged for the artifact's source run (@ibindlish in #9732)data_is_not_path
flag to skip file checks when initializingwandb.Html
with a sting that points to a file.Changed
Artifact.download()
no longer raises an error when usingWANDB_MODE=offline
or when an offline run exists (@timoffex in #9695)Removed
-q
/--quiet
argument to thewandb
magic in IPython / Jupyter; use thequiet
run setting instead (@timoffex in #9705)Deprecated
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 ofrun.project
run.get_url()
method is deprecated in favor ofrun.url
run.get_project_url()
method is deprecated in favor ofrun.project_url
run.get_sweep_url()
method is deprecated in favor ofrun.sweep_url
Fixed
wandb.Html()
no longer raisesIsADirectoryError
with a value that matched a directory on the users system. (@jacobromero in #9728)v0.19.9
Compare Source
Added
reinit
setting can be set to"default"
(@timoffex in #9569)Changed
reinit
setting are deprecated; use "return_previous" and "finish_previous" instead (@timoffex in #9557)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)plum-dispatch
package. (@jacobromero in #9599)pydantic
version requirement to support both v1 and v2 (@dmitryduev in #9605)pydantic
types have been adapted to be compatible with Pydantic v1 (@tonyyli-wandb in #9623)wandb.init(dir=...)
now creates any nonexistent directories indir
if it has a parent directory that is writeable (@ringohoffman in #9545)per_page
argument now only acceptint
values. Defaultper_page
values are set directly in method signatures, and explicitly passingNone
is no longer supported (@tonyyli-wandb in #9201)Fixed
wandb.init()
in a notebook finishes previous runs as previously documented (@timoffex in #9569)jpg
/jpeg
images containing transparency data (@jacobromero in #9527)wandb.init(resume_from=...)
now works without explicitly specifying the run'sid
(@kptkin in #9572)v0.19.8
Compare Source
Fixed
wandb-core
(@jacobromero in #9475)Changed
v0.19.7
Compare Source
Added
Changed
wandb.init()
displays more detailed information, in particular when it is stuck retrying HTTP errors (@timoffex in #9431)Removed
x_show_operation_stats
setting (@timoffex in #9427)Fixed
wandb.setup()
correctly starts up the internal service process; this semantic was unintentionally broken in 0.19.2 (@timoffex in #9436)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
wandb.Artifact
, which in turn slowed down fetching artifacts in various API methods. (@tonyyli-wandb in #9355)wandb.Api
have better string representations (@timoffex in #9361)name
to the path of the file references (@ssisk in #9378)Artifact.add_reference()
withchecksum=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
wandb login --base-url {host_url}
to login as an alias ofwandb login --host {host_url}
. (@jacobromero in #9323)Changed
Fixed
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 settingallow_offline_artifacts=False
to revert to older compatible behavior. (@domphan-wandb in #9267)fork_from
andresume_from
. (@dmitryduev in #9331)v0.19.4
Compare Source
Fixed
v0.19.3
Compare Source
Fixed
wandb.Settings
update regression inwandb.integration.metaflow
(@kptkin in #9211)v0.19.2
Compare Source
Added
Changed
wandb.init()
displays more detailed information, in particular when it is stuck retrying HTTP errors (@timoffex in #9431)Removed
x_show_operation_stats
setting (@timoffex in #9427)Fixed
wandb.setup()
correctly starts up the internal service process; this semantic was unintentionally broken in 0.19.2 (@timoffex in #9436)TypeError: Object of type ... is not JSON serializable
when using numpy number types as values. (@jacobromero in #9487)v0.19.1
Compare Source
Added
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 andartifact.source_artifact
to fetch the source artifact of a linked artifact. (@estellazx in #9789)run.link_artifact()
,artifact.link()
, andrun.link_model()
all return the linked artifact upon linking (@estellazx in #9763)artifact.download(multipart=True)
. (@pingleiwandb in #9738)Project.id
property to get the project ID on awandb.public.Project
(@tonyyli-wandb in #9194).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.RUN_METRIC_CHANGE
events, i.e. on changes in run metric values (absolute or relative deltas). (@tonyyli-wandb in #9775)WANDB_ENABLE_DCGM_PROFILING
environment variable totrue
. Requires thenvidia-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 configscode_path
value. (@jacobromero in #9753)WANDB_CONFIG_DIR
for determining system settings file path (@jacobromero in #9711)Artifact
andArtifactCollection
names (which would make them unloggable), explicitly raising aValueError
when attempting to assign an invalid name. (@tonyyli-wandb in #8773)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 raisesPermission denied
error when the wandb directory is not writable or readable (@jacobromero in #9751)file.delete()
on files queried viaapi.Runs(...)
no longer raisesCommError
(@jacobromero in #9748)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
in #8905)
Removed
wandb.Run.plot_table
method. The functionality is still available and should be accessed usingwandb.plot_table
, which is now the recommended way to use this feature. (@kptkin in #8686)Fixed
ultralytics
reporting if there are no positive examples in a validation batch. (@Jamil in #8870)log_params
argument when calling lightgbm'swandb_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.
This PR was generated by Mend Renovate. View the repository job log.