Add your description here
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parallel_wandb-0.0.3.tar.gz.
File metadata
- Download URL: parallel_wandb-0.0.3.tar.gz
- Upload date:
- Size: 103.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34578c98eba8ab5d9579bdddc4ac4bec002f6af9e269206b1c17f4732ad907d0
|
|
| MD5 |
9e772c6910b42123a90e511e34139494
|
|
| BLAKE2b-256 |
e7cbbec01db9a50e03989d7c5efc9080cb2d58e0cec6462740b5ad4d9b1ff77c
|
Provenance
The following attestation bundles were made for parallel_wandb-0.0.3.tar.gz:
Publisher:
publish.yaml on lebrice/parallel_wandb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parallel_wandb-0.0.3.tar.gz -
Subject digest:
34578c98eba8ab5d9579bdddc4ac4bec002f6af9e269206b1c17f4732ad907d0 - Sigstore transparency entry: 832055521
- Sigstore integration time:
-
Permalink:
lebrice/parallel_wandb@4e9a2fc6e5f5f3f433feb9fe0a9d9f23dc5105ac -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/lebrice
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@4e9a2fc6e5f5f3f433feb9fe0a9d9f23dc5105ac -
Trigger Event:
release
-
Statement type:
File details
Details for the file parallel_wandb-0.0.3-py3-none-any.whl.
File metadata
- Download URL: parallel_wandb-0.0.3-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aab0a1a617759a745e6dd3cd9bd1eb11dfe6b07c2d2bd0fdc4c4bd506f05f933
|
|
| MD5 |
5dab1b330804396ce103be4a47dcde89
|
|
| BLAKE2b-256 |
b61d19538f6aad3a4299eea2d4dedc7f39a084835a930ba2cb58027b7e4929f2
|
Provenance
The following attestation bundles were made for parallel_wandb-0.0.3-py3-none-any.whl:
Publisher:
publish.yaml on lebrice/parallel_wandb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parallel_wandb-0.0.3-py3-none-any.whl -
Subject digest:
aab0a1a617759a745e6dd3cd9bd1eb11dfe6b07c2d2bd0fdc4c4bd506f05f933 - Sigstore transparency entry: 832055522
- Sigstore integration time:
-
Permalink:
lebrice/parallel_wandb@4e9a2fc6e5f5f3f433feb9fe0a9d9f23dc5105ac -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/lebrice
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@4e9a2fc6e5f5f3f433feb9fe0a9d9f23dc5105ac -
Trigger Event:
release
-
Statement type: