Skip to main content

The execution substrate packages a local, multi-repository workspace so it can be reconstructed and run on remote machines. It lets developers launch uncommitted or experimental code without pushing every change to source control or manually copying files.

polyrepo.yaml defines the participating repositories, their local locations, remote directory structure, and launch storage policy. During publication, the substrate creates:

  • A reusable base archive containing a frozen workspace snapshot.
  • A smaller patch archive containing the current tracked and visible untracked changes.
  • Bootstrap shell code that downloads both archives, reconstructs the workspace, and prepares it for execution.

Launchers embed this bootstrap code into task scripts, then add dependency setup and workload commands. The substrate handles workspace transfer and reconstruction, while launchers and backend systems handle task planning, scheduling, resources, queues, and job lifecycle. This repository also includes generic launch helpers and a TPU dispatch CLI; project-specific bucket policy stays in files beside the workspace manifest.

The broader launch architecture has four layers:

  1. Planning: Defines tasks, parameters, stages, and dependencies.
  2. Execution shaping: Selects or modifies which tasks become launch requests.
  3. Launch orchestration: Publishes the workspace, creates scripts, and stores them.
  4. Submission: Sends those scripts to local, dispatch, or cluster backends.

The same process can support one-off diagnostic commands, keeping operator tools and larger workloads on one execution path.

Only source-relevant files are be published. Ignored files—such as datasets, credentials, checkpoints, generated outputs, and machine-specific artifacts—remain outside the archives. Because patches may contain unpublished code or configuration, they require controlled storage and source-code-level security. Generated scripts can contain the W&B key, so keep the GCS artifact bucket private.

Overall, the substrate creates a shared contract between development and remote execution: declare the workspace once, publish its current state at launch time, reconstruct it remotely, and submit the resulting scripts through any supported execution backend.

Release files for polyrepo-template 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polyrepo-template 0.1.0
File Size Uploaded
polyrepo_template-0.1.0.tar.gz 30.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polyrepo-template 0.1.0
File Interpreter ABI Platform
polyrepo_template-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 68.4 kB

Release files / polyrepo_template-0.1.0.tar.gz

Download URL polyrepo_template-0.1.0.tar.gz
Size 30.4 kB
Tags Source
SHA-256 checksum
How to use checksums
db2fc330aad087abc84bb2e81455cd8c817320b00a277e8d24e78b403c13aea7
BLAKE2b-256 checksum
How to use checksums
fbebc1dca6c64d32021e8a44a31a7261244e490b4644c101fa7eafce8b85c326
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"20.04","id":"focal","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / polyrepo_template-0.1.0-py3-none-any.whl

Download URL polyrepo_template-0.1.0-py3-none-any.whl
Size 38.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec6fb10a7f3d74467a7aeca46539ca9aed9aa2553d2b1767978ddaee8e791f46
BLAKE2b-256 checksum
How to use checksums
62d7ad3fc858c239b9c92cc1c13e313e21d7d6c983a12030bec4766c38d3ae65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"20.04","id":"focal","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page