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

Conversation

JKSenthil
Copy link
Contributor

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

Differential Revision: D56446382

JKSenthil and others added 2 commits April 25, 2024 10:33
Differential Revision: D56446353
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants