Skip to content
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

Add pattern template for binary bitwise ops #3486

Closed
wants to merge 7 commits into from

Commits on May 7, 2024

  1. Use compile-time promotion to reduce max/min size & build time (pytor…

    …ch#3459)
    
    Summary:
    
    Yet another smaller pair of ops.
    
    Reviewed By: manuelcandales
    
    Differential Revision: D56807402
    swolchok authored and facebook-github-bot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    bcdc05e View commit details
    Browse the repository at this point in the history
  2. Use compile-time promotion to reduce floor_divide size & build time (p…

    …ytorch#3455)
    
    Summary:
    
    Continuing rollout of this technique.
    
    Reviewed By: manuelcandales
    
    Differential Revision: D56827786
    swolchok authored and facebook-github-bot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    ee90f99 View commit details
    Browse the repository at this point in the history
  3. Use compile-time promotion to reduce remainder size & build time (pyt…

    …orch#3458)
    
    Summary:
    
    Yet another op that can benefit from compile-time type promotion.
    
    Reviewed By: manuelcandales
    
    Differential Revision: D56831293
    swolchok authored and facebook-github-bot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    47fb0cf View commit details
    Browse the repository at this point in the history
  4. Use compile-time promotion to reduce fmod size & build time (pytorch#…

    …3456)
    
    Summary:
    
    Almost done with Tensor ops that can benefit from compile-time promotion!
    
    Reviewed By: manuelcandales
    
    Differential Revision: D56835200
    swolchok authored and facebook-github-bot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    fe97d11 View commit details
    Browse the repository at this point in the history
  5. support Half in minimum and clamp (pytorch#3457)

    Summary:
    
    IIUC, these ops need to support Half but don't. Noticed it as a difference from maximum.
    
    Reviewed By: manuelcandales
    
    Differential Revision: D56846242
    swolchok authored and facebook-github-bot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    fda6b4e View commit details
    Browse the repository at this point in the history
  6. use utils:{min,max}_override in {min,max}imum ops (pytorch#3453)

    Summary:
    
    Noticed this inconsistency with clamp.
    
    Reviewed By: manuelcandales
    
    Differential Revision: D56846313
    swolchok authored and facebook-github-bot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    e5a7f4d View commit details
    Browse the repository at this point in the history
  7. Add pattern template for binary bitwise ops (pytorch#3486)

    Summary:
    
    Similar to D56744651.
    
    Differential Revision: D56852163
    swolchok authored and facebook-github-bot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    58dba0c View commit details
    Browse the repository at this point in the history