Skip to content

Add TALOS - #481

Merged
shijieliu merged 5 commits into
NVIDIA:mainfrom
RandyInterfish:main
Sep 9, 2026
Merged

shijieliu merged 5 commits into
NVIDIA:mainfrom
RandyInterfish:main

Conversation

@RandyInterfish

Copy link
Copy Markdown
Contributor

Description

Adds Talos under corelib/talos/ — a toolkit that drives a coding agent
(Claude Code, Codex) through end-to-end optimization of a PyTorch training or
inference workload. It profiles the real run, rewrites the hotspots it finds,
verifies every change for numerical correctness and measured speedup, and
iterates until the gains run out, with no human in the loop.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@greptile-apps

greptile-apps Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

The PR is not yet safe to merge because repeated analysis of the same externally linked trace can terminate with FileExistsError.

Findings

  1. P1 Correct Symlink Gets Recreated ▶

Summary

  • Makes above-threshold but noisy gains eligible for target_reached, with an explicit caveat.
  • Allows a trace already stored directly in its workspace.
  • Introduces a regression when reusing an existing correct trace symlink.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
    U[User guide and workload] --> M[Main Loop Agent]
    M --> P[Profile workload]
    P --> O[Optimizer subagent]
    O --> V[Correctness and performance verification]
    V --> J[Independent Judge]
    J -->|ITERATE| O
    J -->|PASS keep| K[Retain optimization]
    J -->|PASS revert| R[Restore loop baseline]
Loading

Comment thread corelib/talos/setup.py Resolved
Comment thread corelib/talos/setup.py Resolved
Comment thread corelib/talos/skills/__init__.py Resolved
Comment thread corelib/talos/README.md Resolved
Comment thread corelib/talos/.gitignore Resolved
Comment thread README.md Resolved
@shijieliu
shijieliu merged commit c11dcb6 into NVIDIA:main Sep 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants