Skip to content

Conversation

@liurt1218
Copy link
Collaborator

No description provided.

@Essoz Essoz requested a review from Copilot September 1, 2025 17:21
@Essoz Essoz self-assigned this Sep 1, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds functionality to automatically annotate ML training stages in source code by detecting method calls like train(), eval(), save(), etc. and inserting corresponding annotate_stage() calls.

  • Implements stage detection logic using tokenization to identify training, testing, and checkpointing patterns
  • Adds automatic import insertion for annotate_stage function
  • Integrates stage annotation into the existing instrumentation pipeline

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Essoz Essoz merged commit 2528f19 into main Sep 2, 2025
1 of 2 checks 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.

3 participants