Skip to main content

Automod agents

Automation for TTNN model bringup using GitHub issues/projects and codexapi tasks.

Requirements

  • gh, git, python3, codex CLI
  • tt-smi (or equivalent TT reset tool)
  • codexapi Python package

Install Python deps:

pip install -r requirements.txt

Install as a package (adds yt-bringup-worker):

pip install -e .

Environment variables

Required:

  • YT_SYSTEM = n150 | n300 | lb
  • YT_OWNER (default: yieldthought)
  • YT_REPO_MODELS (default: ttnn_models)
  • YT_WORKER_NAME (default: hostname)

Project config:

  • YT_PROJECT_NUMBER (preferred) or YT_PROJECT_TITLE

HF + Codex:

  • HF_TOKEN (required for gated models)
  • CODEX_BIN (optional)
  • CODEX_* env vars required by your codex install

Policy defaults:

  • YT_TOP1_MIN (default 0.90)
  • YT_TOP5_MIN (default 0.97)
  • YT_MAX_ATTEMPTS (default 10)
  • YT_SLEEP_SECS (default 20)
  • YT_TMP_ROOT (optional temp root)

Run the worker

python scripts/run_worker.py

Run once and exit:

python scripts/run_worker.py --once

Dry run (prints actions only):

python scripts/run_worker.py --dry-run

Dry run with a specific issue number in the output:

python scripts/run_worker.py --dry-run --issue 123

Bootstrap a machine

scripts/bootstrap_machine.sh

Tests

pytest -q

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yieldthought_agents-0.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yieldthought_agents-0.1.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file yieldthought_agents-0.1.0.tar.gz.

File metadata

  • Download URL: yieldthought_agents-0.1.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yieldthought_agents-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4eb62d6cddb147e23694f9c8de448e003e8ff3d170132467460686835553dcb
MD5 96427fa6c0a654ad00be9bbf1bf530a3
BLAKE2b-256 72336b70a7aca5ca316e3474655215dd563de40695fd6b8a35b387c3be2cfe47

See more details on using hashes here.

Provenance

The following attestation bundles were made for yieldthought_agents-0.1.0.tar.gz:

Publisher: publish.yml on yieldthought/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yieldthought_agents-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yieldthought_agents-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c3c7a1868afa80cbf51d351260c42872215f6704406e06da9dabd3d454a1433
MD5 59dd294894be70f0024cef88590f748c
BLAKE2b-256 7177bf0ecac24e358603d818c3ffb191eb8d6993ecd01fe63892ac731ffb4142

See more details on using hashes here.

Provenance

The following attestation bundles were made for yieldthought_agents-0.1.0-py3-none-any.whl:

Publisher: publish.yml on yieldthought/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page