Skip to content

[graph_trainer] Add CLAUDE.md development guide - #2797

Merged
SherlockNoMad merged 2 commits into
gh/SherlockNoMad/6/basefrom
gh/SherlockNoMad/6/head
Apr 3, 2026
Merged

SherlockNoMad merged 2 commits into
gh/SherlockNoMad/6/basefrom
gh/SherlockNoMad/6/head

Conversation

@SherlockNoMad

@SherlockNoMad SherlockNoMad commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Add a dedicated CLAUDE.md for the graph_trainer experiment covering:

  • Graph pass signature convention (gm, example_inputs, *, kwargs) -> gm
  • Core modification policy (extend via subclassing, not branching)
  • Local development commands for Llama3 and DeepSeek-v3 aot_fx_trace
  • Unit, numerics, and integration test commands
  • Reference to root CLAUDE.md for shared conventions

Add a dedicated CLAUDE.md for the graph_trainer experiment covering:
- Graph pass signature convention (gm, example_inputs, *, kwargs) -> gm
- Core modification policy (extend via subclassing, not branching)
- Local development commands for Llama3 and DeepSeek-v3 aot_fx_trace
- Unit, numerics, and integration test commands
- Reference to root CLAUDE.md for shared conventions

[ghstack-poisoned]
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 2, 2026
### Tests

```bash
# Unit tests (CPU)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test_trace_module.py requires GPU. Some tests in test_passes.py also require GPU.

We can just remove (CPU) and (GPU) here and just assume the dev always happens on a GPU machine.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed.

Add a dedicated CLAUDE.md for the graph_trainer experiment covering:
- Graph pass signature convention (gm, example_inputs, *, kwargs) -> gm
- Core modification policy (extend via subclassing, not branching)
- Local development commands for Llama3 and DeepSeek-v3 aot_fx_trace
- Unit, numerics, and integration test commands
- Reference to root CLAUDE.md for shared conventions

[ghstack-poisoned]
@SherlockNoMad
SherlockNoMad merged commit 00303f1 into gh/SherlockNoMad/6/base Apr 3, 2026
4 of 6 checks passed
SherlockNoMad added a commit that referenced this pull request Apr 3, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #2802
* #2799
* __->__ #2797

Add a dedicated CLAUDE.md for the graph_trainer experiment covering:
- Graph pass signature convention (gm, example_inputs, *, kwargs) -> gm
- Core modification policy (extend via subclassing, not branching)
- Local development commands for Llama3 and DeepSeek-v3 aot_fx_trace
- Unit, numerics, and integration test commands
- Reference to root CLAUDE.md for shared conventions
TXacs pushed a commit to McmillanTAC/torchtitan that referenced this pull request Apr 13, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* pytorch#2802
* pytorch#2799
* __->__ pytorch#2797

Add a dedicated CLAUDE.md for the graph_trainer experiment covering:
- Graph pass signature convention (gm, example_inputs, *, kwargs) -> gm
- Core modification policy (extend via subclassing, not branching)
- Local development commands for Llama3 and DeepSeek-v3 aot_fx_trace
- Unit, numerics, and integration test commands
- Reference to root CLAUDE.md for shared conventions
jemitche1 pushed a commit to jemitche1/torchtitan that referenced this pull request Apr 14, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* pytorch#2802
* pytorch#2799
* __->__ pytorch#2797

Add a dedicated CLAUDE.md for the graph_trainer experiment covering:
- Graph pass signature convention (gm, example_inputs, *, kwargs) -> gm
- Core modification policy (extend via subclassing, not branching)
- Local development commands for Llama3 and DeepSeek-v3 aot_fx_trace
- Unit, numerics, and integration test commands
- Reference to root CLAUDE.md for shared conventions
ACharacterInASimulation pushed a commit to ACharacterInASimulation/torchtitan that referenced this pull request Apr 21, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* pytorch#2802
* pytorch#2799
* __->__ pytorch#2797

Add a dedicated CLAUDE.md for the graph_trainer experiment covering:
- Graph pass signature convention (gm, example_inputs, *, kwargs) -> gm
- Core modification policy (extend via subclassing, not branching)
- Local development commands for Llama3 and DeepSeek-v3 aot_fx_trace
- Unit, numerics, and integration test commands
- Reference to root CLAUDE.md for shared conventions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants