docker run and inject W&B environment variables automatically.
Pass all arguments through to docker run while injecting:
WANDB_API_KEY— Use the current API key so the container can authenticate with W&B without manual configuration.WANDB_DOCKER— Record the resolved image ID so W&B can track which Docker image produced the run.
nvidia-docker is detected on the host and --runtime is not
already set, add --runtime nvidia to the command to enable GPU support
by default.
Examples:
Run python train.py inside the “my-image” container. W&B automatically
injects your API key and the resolved image ID.
Usage
Arguments
docker_run_args
| Name | Default | Type |
|---|---|---|
docker_run_args | None | STRING |
Options
help
Show this message and exit.
| Flag | Default | Type |
|---|---|---|
--help | False | BOOL |