• Michael Benayoun's avatar
    FX tracing improvement (#14321) · 0fe17f37
    Michael Benayoun authored
    * Change the way tracing happens, enabling dynamic axes out of the box
    
    * Update the tests and modeling xlnet
    
    * Add the non recoding of leaf modules to avoid recording more values for the methods to record than what will be seen at tracing time (which would otherwise desynchronize the recorded values and the values that need to be given to the proxies during tracing, causing errors).
    
    * Comments and making tracing work for gpt-j and xlnet
    
    * Refactore things related to num_choices (and batch_size, sequence_length)
    
    * Update fx to work on PyTorch 1.10
    
    * Postpone autowrap_function feature usage for later
    
    * Add copyrights
    
    * Remove unnecessary file
    
    * Fix issue with add_new_model_like
    
    * Apply suggestions
    0fe17f37
test_modeling_common.py 94.6 KB