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 wandb-core
, simply install
the package in your environment. The wandb
library will automatically detect and utilize it:
pip install -U wandb wandb-core
in the top of your script add the following:
import wandb
wandb.require("core")
Note: ensure you have wandb>0.16.6
.
Platform Compatibility
wandb-core
comes with wheels 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, simply uninstall wandb-core
from your environment:
pip uninstall wandb-core
or remove the wandb.require("core")
from your script.
Contributing
Your contributions are welcome! Check our contributing guide for instructions on setting up your development environment and contributing to the project.
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 the wandb-core
version 0.17.0b11
.
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 | ✅1 |
| log | ✅ |
| log_artifact | ✅ |
| log_code | ✅ |
| config | ✅ |
| summary | ✅ |
| define_metric | 🚧2 |
| tags | ✅ |
| notes | ✅ |
| name | ✅ |
| alert | ✅ |
| save | ✅ |
| restore | ✅ |
| mark_preempting | ✅ |
| resume | ✅ |
| reinit | ✅ |
| Media | ✅ |
| Grouping | ✅ |
| anonymous mode | ✅ |
| offline mode | ✅ |
| disabled mode | ✅ |
| multiprocessing | ✅ |
| TensorBoard sync | 🚧1 |
| console logging | ✅3 |
| system metrics | ✅4 |
| system info | ✅ |
| auto code saving | ✅ |
| Settings | 🚧5 |
Login | | |
| default entity | ✅ |
| team entity | ✅ |
| service account | 🚧 |
CLI | | |
| sync | ✅16 |
| <other commands> | 🚧7 |
Artifacts | | ✅ |
| caching | ❌ |
| partial downloads | ❌ |
Sweeps | | ✅ |
Launch | | ✅ |
| Sweeps on Launch | 🚧8 |