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 and use generic torch version comparator #801

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Apr 25, 2024

  1. enfore pytorch >= 2.0

    Differential Revision: D56446353
    JKSenthil authored and facebook-github-bot committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    f26c74e View commit details
    Browse the repository at this point in the history
  2. add and use generic torch version comparator

    Summary:
    # Context
    Before we would have an individual function for each version of pytorch we want to check for. Let's remove this in favor of a single universal function
    
    # This Diff
    Pass the version as a string instead and replaces old uses
    
    Reviewed By: galrotem
    
    Differential Revision: D56446382
    JKSenthil authored and facebook-github-bot committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    0a76968 View commit details
    Browse the repository at this point in the history