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

Revert commits causing release build failure #3699

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

patel-vimal
Copy link
Contributor

Two commits are reverted:
(1) 2960538
(2) fa39d91

The release build is failing and the 2nd commit is suspected to be the reason. Some of the changes in this commit are unnecessary and must be dropped while reapplying. The 1st commit fixes some of the changes made in the 2nd commit and therefore the 1st commit is also reverted. It could be reapplied along with the 2nd one later on.

cc: @vivekkhandelwal1

@patel-vimal patel-vimal changed the title Vimal/revert fx importer for int infinity Revert commits causing release build failure Sep 10, 2024
@vivekkhandelwal1
Copy link
Collaborator

Hi @patel-vimal, can you please update this PR as per the discussion on the original PR?

@patel-vimal
Copy link
Contributor Author

Hi @patel-vimal, can you please update this PR as per the discussion on the original PR?

Sure. Instead of reverting the changes, I'll drop only the changes which are now redundant.

`get_int64_max` and `get_int64_min` was introduced in TorchMLIRModule to
get int64 min/max from C++ standard library and use it as Integer +inf
and -inf. However, the fx_importer now uses torch.iinfo() to get these
values and hence these definitions can be dropped.
@patel-vimal patel-vimal force-pushed the vimal/revert_fx_importer_for_int_infinity branch from 64652cc to 75d8807 Compare September 11, 2024 10:41
@patel-vimal
Copy link
Contributor Author

Two commits are reverted: (1) 2960538 (2) fa39d91

The release build is failing and the 2nd commit is suspected to be the reason. Some of the changes in this commit are unnecessary and must be dropped while reapplying. The 1st commit fixes some of the changes made in the 2nd commit and therefore the 1st commit is also reverted. It could be reapplied along with the 2nd one later on.

cc: @vivekkhandelwal1

Updated this PR to only undo the unnecessary changes.

Copy link
Collaborator

@vivekkhandelwal1 vivekkhandelwal1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants