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

support Half in minimum and clamp #3457

Closed
wants to merge 5 commits into from

Commits on May 8, 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 8, 2024
    Configuration menu
    Copy the full SHA
    40825fd 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 8, 2024
    Configuration menu
    Copy the full SHA
    acd27cb 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 8, 2024
    Configuration menu
    Copy the full SHA
    f2668fa 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 8, 2024
    Configuration menu
    Copy the full SHA
    66bbb07 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 8, 2024
    Configuration menu
    Copy the full SHA
    41cf1aa View commit details
    Browse the repository at this point in the history