- 
                Notifications
    You must be signed in to change notification settings 
- Fork 46
Metric Logging updates 4/N - better actor name #351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            felipemello1
  merged 30 commits into
  meta-pytorch:main
from
felipemello1:timestamp_logging_diff3
  
      
      
   
  Oct 15, 2025 
      
    
  
     Merged
                    Changes from 29 commits
      Commits
    
    
            Show all changes
          
          
            30 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      77488cf
              
                commit
              
              
                 feb4771
              
                commit
              
              
                 41ceaa4
              
                update backend role typehints and enum
              
              
                 8a24e71
              
                update where we check FORGE_DISABLE_METRICS
              
              
                 3f3bc51
              
                remove protected import
              
              
                 d82c354
              
                Merge branch 'timestamp_logging_diff1' into timestamp_logging_diff2
              
              
                 4fe2611
              
                protect import
              
              
                 8759bc8
              
                Merge branch 'timestamp_logging_diff1' into timestamp_logging_diff2
              
              
                 fbb4a9e
              
                Merge branch 'main' of https://github.com/meta-pytorch/forge into tim…
              
              
                 d81a4ed
              
                record_metric uses dataclass Metric
              
              
                 1e2255d
              
                commit
              
              
                 a94c612
              
                Merge branch 'main' of https://github.com/meta-pytorch/forge into tim…
              
              
                 5b477e8
              
                commit
              
              
                 f2b3eed
              
                commit
              
              
                 471b88a
              
                revert
              
              
                 1a02784
              
                Merge branch 'timestamp_logging_diff2_5' into timestamp_logging_diff3
              
              
                 fa4895f
              
                remove unnecessary code
              
              
                 7bb1fe7
              
                better logging
              
              
                 43d5d27
              
                docs/names
              
              
                 c97eb98
              
                Merge branch 'timestamp_logging_diff2_5' into timestamp_logging_diff3
              
              
                 70e9c67
              
                Merge branch 'main' of https://github.com/meta-pytorch/forge into tim…
              
              
                 1186aec
              
                update cfg back to true
              
              
                 a02ea75
              
                Merge branch 'main' of https://github.com/meta-pytorch/forge into tim…
              
              
                 7d89f5c
              
                Merge branch 'main' of https://github.com/meta-pytorch/forge into tim…
              
              
                 370c4e4
              
                remove callstack, get meshname in provisioner
              
              
                 9e77930
              
                get name from proc mesh
              
              
                 93b0cad
              
                simplify + unit tests
              
              
                 84363b1
              
                Merge branch 'main' of https://github.com/meta-pytorch/forge into tim…
              
              
                 77e426b
              
                Merge branch 'main' of https://github.com/meta-pytorch/forge into tim…
              
              
                 e901ad5
              
                address comments
              
              
                 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a small thing but it's not immediately clear why we do this here vs
get_proc_name_with_rankin other places. (after looking at the code i think it's a global vs local thing, but imo this could be more clearly documented)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get_proc_name_with_rank returns it with replica id and rank. Here i just want the process name, so i would have to parse it :/