core

package module
v0.0.0-...-5d0644b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: MIT Imports: 0 Imported by: 0

README ΒΆ

wandb-core: A New Backend for the W&B SDK

Introduction

Good News, Everyone! We've developed a new and improved backend for the W&B SDK that is more performant, versatile, and robust.

Getting Started

To start using the new backend, add wandb.require("core") to your script after importing wandb:

import wandb

wandb.require("core")

Note: ensure you have wandb>=0.17.0.

Platform Compatibility

wandb-core is pre-built for the following platforms:

  • Linux:x86_64, aarch64
  • macOS: x86_64, arm64
  • Windows amd64

For other platforms, build wandb-core from the source as outlined in our contributing guide. If you're interested in support for additional platforms, please inform us by opening a GitHub issue. Your feedback helps us prioritize new platform support.

W&B Server Compatibility

wandb-core is compatible with our production and dedicated cloud deployments as well as W&B Server versions >=0.40.0.

Switching Back to the Old SDK Backend

To revert to the old SDK backend, remove wandb.require("core") from your script.

Contributing

Your contributions are welcome! Please follow our contributing guide for more details.

Feedback and Bug Reporting

We're eager to hear your thoughts on wandb-core. Your feedback, especially bug reports, is invaluable. If you encounter any issues, please raise a GitHub issue and mention your use of wandb-core.

Feature Support Status

Below is an overview of the feature support status in wandb-core.

Status legend:

  • βœ…: Available: The feature is relatively stable and ready for use.
  • 🚧: In Development: The feature is available but may be unstable or incomplete.
  • ❌: Not Available: The feature is not yet available.
Category Feature Status
Experiments
init βœ…[^E.1]
log βœ…
log_artifact βœ…
log_code βœ…
config βœ…
summary βœ…
define_metric 🚧[^E.5]
tags βœ…
notes βœ…
name βœ…
alert βœ…
save βœ…
restore βœ…
mark_preempting βœ…
resume βœ…
reinit βœ…
Media βœ…
Grouping βœ…
anonymous mode βœ…
offline mode βœ…
disabled mode βœ…
multiprocessing βœ…
TensorBoard sync ❌[^E.1]
console logging βœ…[^E.8]
system metrics βœ…[^E.9]
system info βœ…
auto code saving βœ…
Settings 🚧[^E.12]
Login
default entity βœ…
team entity βœ…
service account 🚧
CLI
sync βœ…[^E.1][^CLI.1]
<other commands> 🚧[^CLI.2]
Artifacts βœ…
caching βœ…
partial downloads ❌
Sweeps βœ…
Launch βœ…

[^E.1]: sync_tensorboard only uploads tfevent files to W&B (unverified); the metrics will not be logged in native W&B charts. [^E.5]: define_metric only supports default summary. [^E.8]: Only raw console logging is supported. [^E.9]: Supported system metrics: CPU, Memory, Disk, Network, NVIDIA GPU, AMD GPU, Apple GPU. [^E.12]: Unsupported settings: (anonymous, _flow_control*, _stats_open_metrics_endpoints, ...) [^CLI.1]: The command is namespaced under wandb beta group. [^CLI.2]: The rest of the CLI works, but uses the old backend under the hood for some commands.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
api
cmd
generate_gql
genqlient is a GraphQL client generator for Go.
genqlient is a GraphQL client generator for Go.
internal
api
W&B backend API.
W&B backend API.
clients
Deprecated package providing utilities for defining HTTP clients.
Deprecated package providing utilities for defining HTTP clients.
filetransfertest
Testability for the filetransfer package.
Testability for the filetransfer package.
gql
gqlmock
Package gqlmock provides utilities to mock a GraphQL API for tests.
Package gqlmock provides utilities to mock a GraphQL API for tests.
runfiles
Package runfiles deals with the saved files of a W&B run.
Package runfiles deals with the saved files of a W&B run.
settings
Defines W&B settings.
Defines W&B settings.
waiting
Package waiting helps write testable code that sleeps.
Package waiting helps write testable code that sleeps.
waitingtest
Package waitingtest defines fakes for package `waiting`.
Package waitingtest defines fakes for package `waiting`.
watcher
Package watcher notifies on changes to files or directories.
Package watcher notifies on changes to files or directories.
watchertest
Package watchertest defines a fake Watcher implementation for testing.
Package watchertest defines a fake Watcher implementation for testing.
pkg
filestream
Package filestream communicates with the W&B backend filestream service.
Package filestream communicates with the W&B backend filestream service.
launch
TODO: this code desperately needs love and refactoring
TODO: this code desperately needs love and refactoring
leveldb
Package crc implements the checksum algorithm used throughout leveldb.
Package crc implements the checksum algorithm used throughout leveldb.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL