Update dependency wandb to ^0.21.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.
This PR contains the following updates:
^0.18.0
->^0.21.0
Release Notes
wandb/wandb (wandb)
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 https://github.com/wandb/wandb/pull/10121)pattern
parameter toApi().run().files
to only get files matching a given pattern from the W&B backend (@jacobromero in https://github.com/wandb/wandb/pull/10163)format
key to Launch input JSONSchema to specify a string with a secret format (@domphan-wandb in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/10144)Api().runs(...)
andApi().sweeps(...)
now returns runs in ascending order according to the runscreated_at
time. (@jacobromero in https://github.com/wandb/wandb/pull/10130)__bool__
for the registry iterators to align with python lazy iterators. (@estellazx in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/10205).Fixed
InternalArtifact
names have been shortened to 6 alphanumeric characters (@tonyyli-wandb in https://github.com/wandb/wandb/pull/10102)wandb.Video
will not print a progress spinner while encoding video whenWANDB_SILENT
/WANDB_QUIET
environment variables are set (@jacobromero in https://github.com/wandb/wandb/pull/10064)api.registries()
from having an extrawandb-registry-
prefix in the name and full_name fields (@estellazx in https://github.com/wandb/wandb/pull/10187)sync_tensorboard
(@timoffex in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/10228)load()
function on a public API run object no longer throwsTypeError
. (@jacobromero in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/10089)Changed
Artifact.link()
no longer instantiates a throwaway placeholder run (@tonyyli-wandb in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9995)Api.artifact()
will now display a warning while fetching artifacts from migrated model registry collections (@ibindlish in https://github.com/wandb/wandb/pull/10047).length
for objects queried fromwandb.Api
has been deprecated. Uselen(...)
instead (@jacobromero in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9984)Fixed
silent
,quiet
, andshow_warnings
settings passed to aRun
instance for warnings emitted by the service process (@kptkin in https://github.com/wandb/wandb/pull/10077)api.Runs
no longer makes an API call for each run loaded from W&B (@jacobromero in https://github.com/wandb/wandb/pull/10087)x_extra_http_headers
setting from the env variable (@dmitryduev in https://github.com/wandb/wandb/pull/10103).length
calls the W&B backend to load the length of objects when no data has been loaded rather than returningNone
(@jacobromero in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9789)run.link_artifact()
,artifact.link()
, andrun.link_model()
all return the linked artifact upon linking (@estellazx in https://github.com/wandb/wandb/pull/9763)artifact.download(multipart=True)
. (@pingleiwandb in https://github.com/wandb/wandb/pull/9738)Project.id
property to get the project ID on awandb.public.Project
(@tonyyli-wandb in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9780)Fixed
run.log_code
correctly sets the run configscode_path
value. (@jacobromero in https://github.com/wandb/wandb/pull/9753)WANDB_CONFIG_DIR
for determining system settings file path (@jacobromero in https://github.com/wandb/wandb/pull/9711)Artifact
andArtifactCollection
names (which would make them unloggable), explicitly raising aValueError
when attempting to assign an invalid name. (@tonyyli-wandb in https://github.com/wandb/wandb/pull/8773)ConfigError
in Pydantic v1 environments from not calling.model_rebuild()/.update_forward_refs()
on generated types with ForwardRef fields (@tonyyli-wandb in https://github.com/wandb/wandb/pull/9795)wandb.init()
no longer raisesPermission denied
error when the wandb directory is not writable or readable (@jacobromero in https://github.com/wandb/wandb/pull/9751)file.delete()
on files queried viaapi.Runs(...)
no longer raisesCommError
(@jacobromero in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9562)Artifact.history_step
to return the nearest run step at which history metrics were logged for the artifact's source run (@ibindlish in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9695)Removed
-q
/--quiet
argument to thewandb
magic in IPython / Jupyter; use thequiet
run setting instead (@timoffex in https://github.com/wandb/wandb/pull/9705)Deprecated
wandb.Run
methods are deprecated in favor of properties and will be removed in a future release (@kptkin in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9728)v0.19.9
Compare Source
Added
reinit
setting can be set to"default"
(@timoffex in https://github.com/wandb/wandb/pull/9569)Changed
reinit
setting are deprecated; use "return_previous" and "finish_previous" instead (@timoffex in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9540)plum-dispatch
package. (@jacobromero in https://github.com/wandb/wandb/pull/9599)pydantic
version requirement to support both v1 and v2 (@dmitryduev in https://github.com/wandb/wandb/pull/9605)pydantic
types have been adapted to be compatible with Pydantic v1 (@tonyyli-wandb in https://github.com/wandb/wandb/pull/9623)wandb.init(dir=...)
now creates any nonexistent directories indir
if it has a parent directory that is writeable (@ringohoffman in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9201)Fixed
wandb.init()
in a notebook finishes previous runs as previously documented (@timoffex in https://github.com/wandb/wandb/pull/9569)jpg
/jpeg
images containing transparency data (@jacobromero in https://github.com/wandb/wandb/pull/9527)wandb.init(resume_from=...)
now works without explicitly specifying the run'sid
(@kptkin in https://github.com/wandb/wandb/pull/9572)v0.19.8
Compare Source
Fixed
wandb-core
(@jacobromero in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9431)Removed
x_show_operation_stats
setting (@timoffex in https://github.com/wandb/wandb/pull/9427)Fixed
wandb.setup()
correctly starts up the internal service process; this semantic was unintentionally broken in 0.19.2 (@timoffex in https://github.com/wandb/wandb/pull/9436)TypeError: Object of type ... is not JSON serializable
when using numpy number types as values. (@jacobromero in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9355)wandb.Api
have better string representations (@timoffex in https://github.com/wandb/wandb/pull/9361)name
to the path of the file references (@ssisk in https://github.com/wandb/wandb/pull/9378)Artifact.add_reference()
withchecksum=False
to log new versions of local reference artifacts without changes to the reference URI. (@tonyyli-wandb in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9267)fork_from
andresume_from
. (@dmitryduev in https://github.com/wandb/wandb/pull/9331)v0.19.4
Compare Source
Fixed
v0.19.3
Compare Source
Fixed
wandb.Settings
update regression inwandb.integration.metaflow
(@kptkin in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9431)Removed
x_show_operation_stats
setting (@timoffex in https://github.com/wandb/wandb/pull/9427)Fixed
wandb.setup()
correctly starts up the internal service process; this semantic was unintentionally broken in 0.19.2 (@timoffex in https://github.com/wandb/wandb/pull/9436)TypeError: Object of type ... is not JSON serializable
when using numpy number types as values. (@jacobromero in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9789)run.link_artifact()
,artifact.link()
, andrun.link_model()
all return the linked artifact upon linking (@estellazx in https://github.com/wandb/wandb/pull/9763)artifact.download(multipart=True)
. (@pingleiwandb in https://github.com/wandb/wandb/pull/9738)Project.id
property to get the project ID on awandb.public.Project
(@tonyyli-wandb in https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/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 https://github.com/wandb/wandb/pull/9780)Fixed
run.log_code
correctly sets the run configscode_path
value. (@jacobromero in https://github.com/wandb/wandb/pull/9753)WANDB_CONFIG_DIR
for determining system settings file path (@jacobromero in https://github.com/wandb/wandb/pull/9711)Artifact
andArtifactCollection
names (which would make them unloggable), explicitly raising aValueError
when attempting to assign an invalid name. (@tonyyli-wandb in https://github.com/wandb/wandb/pull/8773)ConfigError
in Pydantic v1 environments from not calling.model_rebuild()/.update_forward_refs()
on generated types with ForwardRef fields (@tonyyli-wandb in https://github.com/wandb/wandb/pull/9795)wandb.init()
no longer raisesPermission denied
error when the wandb directory is not writable or readable (@jacobromero in https://github.com/wandb/wandb/pull/9751)file.delete()
on files queried viaapi.Runs(...)
no longer raisesCommError
(@jacobromero in https://github.com/wandb/wandb/pull/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
ihttps://github.com/wandb/wandb/pull/890505)
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 https://github.com/wandb/wandb/pull/8686)Fixed
ultralytics
reporting if there are no positive examples in a validation batch. (@Jamil in https://github.com/wandb/wandb/pull/8870)log_params
argument when calling lightgbm'swandb_callback
function. (@i-aki-y https://github.com/wandb/wandb/pull/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.