parallel_wandb
This simple package makes it easy to use the new (reinit="create_new")
feature of Weights & Biases (wandb) to create and log to multiple wandb runs in parallel
This, when combined with jax.vmap, enables extremely efficient, high-throughput training (and logging!) of multiple simultaneous training runs.
- This package provides two simple functions that you can import and use in your own project:
wandb_initto initialize multiple wandb runs andwandb_logto log metrics to them in parallel. - A demonstration of how these can be used with jax.vmap can be found in
jax_mnist.py.
Installation
-
(optional) Install UV: https://docs.astral.sh/uv/getting-started/installation/
-
Add this package as a dependency to your project:
uv add parallel_wandb
OR, if you don't use UV yet, you can also pip install parallel_wandb.
Usage
from parallel_wandb import wandb_init, wandb_log
runs = wandb_init(
{"name": ["run_0", "run_1"], "config": {"seed": [0, 1]}},
project="test_project",
name="test_name",
)
assert isinstance(runs, np.ndarray) and runs.shape == (2,) and runs.dtype == object
wandb_log(runs, {"loss": [0.1, 0.2]}, step=0)
Metadata
Release files for parallel-wandb 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| parallel_wandb-0.0.3.tar.gz | 103.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| parallel_wandb-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 120.9 kB
Release files / parallel_wandb-0.0.3.tar.gz
| Download URL | parallel_wandb-0.0.3.tar.gz |
|---|---|
| Size | 103.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34578c98eba8ab5d9579bdddc4ac4bec002f6af9e269206b1c17f4732ad907d0
|
|
BLAKE2b-256 checksum How to use checksums |
e7cbbec01db9a50e03989d7c5efc9080cb2d58e0cec6462740b5ad4d9b1ff77c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 16, 2026.
Transparency logRelease files / parallel_wandb-0.0.3-py3-none-any.whl
| Download URL | parallel_wandb-0.0.3-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aab0a1a617759a745e6dd3cd9bd1eb11dfe6b07c2d2bd0fdc4c4bd506f05f933
|
|
BLAKE2b-256 checksum How to use checksums |
b61d19538f6aad3a4299eea2d4dedc7f39a084835a930ba2cb58027b7e4929f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 16, 2026.
Transparency log