- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 10.9k
[torch.compile] Custom op matching #24188
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
          
     Closed
      
      
            ProExpertProg
  wants to merge
  13
  commits into
  vllm-project:main
from
neuralmagic:luka/new-custom-op-matching
  
      
      
   
      
    
                
     Closed
            
            [torch.compile] Custom op matching #24188
                    ProExpertProg
  wants to merge
  13
  commits into
  vllm-project:main
from
neuralmagic:luka/new-custom-op-matching
  
      
      
   
              
            Conversation
  
    
      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 was referenced Sep 3, 2025 
      
| This pull request has merge conflicts that must be resolved before it can be | 
83ee4d9    to
    d0f7fdb      
    Compare
  
    
      
        
      
      
  
    1 task
  
Signed-off-by: Luka Govedič <lgovedic@redhat.com>
…ass) Signed-off-by: luka <lgovedic@redhat.com> Signed-off-by: Luka Govedič <lgovedic@redhat.com>
Signed-off-by: luka <lgovedic@redhat.com> Signed-off-by: Luka Govedič <lgovedic@redhat.com>
Signed-off-by: luka <lgovedic@redhat.com> Signed-off-by: Luka Govedič <lgovedic@redhat.com>
Signed-off-by: luka <lgovedic@redhat.com> Signed-off-by: Luka Govedič <lgovedic@redhat.com>
…eanup Signed-off-by: luka <lgovedic@redhat.com> Signed-off-by: Luka Govedič <lgovedic@redhat.com>
Signed-off-by: luka <lgovedic@redhat.com> Signed-off-by: Luka Govedič <lgovedic@redhat.com>
Signed-off-by: luka <lgovedic@redhat.com> Signed-off-by: Luka Govedič <lgovedic@redhat.com>
Signed-off-by: luka <lgovedic@redhat.com> Signed-off-by: Luka Govedič <lgovedic@redhat.com>
Signed-off-by: Luka Govedič <lgovedic@redhat.com>
Signed-off-by: Luka Govedič <lgovedic@redhat.com>
ea109c9    to
    6dff951      
    Compare
  
    | This pull request has merge conflicts that must be resolved before it can be | 
Signed-off-by: Luka Govedič <lgovedic@redhat.com>
Signed-off-by: Luka Govedič <lgovedic@redhat.com>
|  | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  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.
  
    
  
    
Fixes #23091.
Purpose
Cleanup compilation tests and custom passes and address #23091 and part of #24376. This PR is a prerequisite for matching torch implementations of custom ops in #TODO.
Cleanup:
.instance()workaroundFusionPasstoRMSNormQuantFusionPasstest_fusion.pyrunning timegraph.eliminate_dead_code()break the fx graph withenable_fi_allreduce_fusionwhen TP == 2 #23091LazyInitPasstest utilitytest_sequence_parallelism.pytest_silu_mul_quant_fusionfor easier diagnostics of fp4 failures.Test Plan
Unit tests all pass.
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.