Skip to content

Conversation

nickgg
Copy link
Contributor

@nickgg nickgg commented Mar 25, 2020

#35127 was landed and reverted because I missed a test fail (oops). I have found and fixed the issue, which was due to zero terms being introduced after the point that filtered them out (usually required NAN/INF, e.g. x / INF => 0).

See #35127 for more info.

@nickgg nickgg requested a review from apaszke as a code owner March 25, 2020 20:40
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Mar 25, 2020
@dr-ci
Copy link

dr-ci bot commented Mar 25, 2020

💊 CircleCI build failures summary and remediations

As of commit e8e2497 (more details on the Dr. CI page):


None of the build failures appear to be your fault 💚


  • 1/1 broken upstream at merge base c672a73 since Mar 27

    Please rebase on the viable/strict branch (expand for instructions)

    If your commit is newer than viable/strict, you can try basing on an older, stable commit:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase --onto FETCH_HEAD $(git merge-base origin/master HEAD)
    

    If your commit is older than viable/strict:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase FETCH_HEAD
    

    Check out the recency history of this "viable master" tracking branch.


🚧 1 upstream failure:

These were probably caused by upstream breakages:


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

See how this bot performed.

This comment has been revised 53 times.

@ZolotukhinM ZolotukhinM self-requested a review March 25, 2020 20:43
Copy link

@ZolotukhinM ZolotukhinM left a comment

Choose a reason for hiding this comment

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

Approving since it's a fix to an already approved PR.

@nickgg nickgg force-pushed the multiVarSimplifier3 branch 5 times, most recently from 4507f75 to 55c659e Compare March 27, 2020 18:16
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@nickgg has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@nickgg nickgg force-pushed the multiVarSimplifier3 branch 3 times, most recently from 22c6a17 to ed92b3e Compare March 27, 2020 20:31
@nickgg
Copy link
Contributor Author

nickgg commented Mar 27, 2020

OK have rebased back on the various commits, this is the one!

Copy link

@ZolotukhinM ZolotukhinM left a comment

Choose a reason for hiding this comment

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

Approving as already reviewed. Please fix a couple of places (see inline) before landing. Also, I suggest splitting big PRs into a stack of smaller PRs in future. Thanks!

Choose a reason for hiding this comment

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

It is generally a bad idea to sort on hash, as we've already discovered - it can make tests brittle and can in future lead to non-deterministic behavior (even if it's not like that now). I suggest following up on that - a better way would be to normalize/canonicalize the expression - i.e. define a strict order how sub-expressions should be placed in the parent expression.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The hash defines an ordering though, doesn't it. The issues we've been having in this diff is that the hash wasn't consistent across platforms.

I'm a bit resistant to some kind of adhoc ordering because in the case of compound opaque objects I think it can get complicated. Am open to suggestions on this though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're not wrong though, I found a bug in the hash and it changes the order of a bunch of things.

@nickgg nickgg force-pushed the multiVarSimplifier3 branch 3 times, most recently from e5596ef to 3a9dc9b Compare March 28, 2020 02:16
@nickgg nickgg force-pushed the multiVarSimplifier3 branch from 3a9dc9b to e8e2497 Compare March 28, 2020 04:30
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@nickgg has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@nickgg merged this pull request in 5b3492d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants