-
Notifications
You must be signed in to change notification settings - Fork 25.7k
temporary fix for jit test backward compatibility issues #31949
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
Conversation
[ghstack-poisoned]
💊 CircleCI build failures summary and remediationsAs of commit dcd22a9: Commit dcd22a9 was recently pushed. Waiting for builds... 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. This comment has been revised 1 time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test is still broken
TypeError: append() takes exactly one argument (2 given)
So create a tuple? :-)
Differential Revision: [D19314763](https://our.internmc.facebook.com/intern/diff/D19314763) [ghstack-poisoned]
|
Yes I was doing something else, fixed now. |
| ] | ||
|
|
||
| jit_test_functions = [ | ||
| '_TorchScriptTesting_StackString::pop', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Also, just use _TorchScriptTesting_ should be enough, and you can directly add this to the whitelist, and add a comment at the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to be as restrictive as possible to discourage people from adding more until we get a proper solution for the problem. But I dont have a very strong opinion. You think the more generic check is better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If so, we should add comments around jit_test_functions to warning the developers in future, and tell them don't add new testing functions. They will see this note when they try to add new items to white list in future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unblock, please merge after the BC CI is green :-)
|
@albanD @houseroad sorry for the late comment, but - since these are exactly the signatures that are deliberately omitted when loading the new schemas from file (here), I'm curious why we wouldn't just explicitly factor the No idea the history here, so apologies if the question is nonsense :) |
|
@bhosmer I am not sure. The nice thing with the whitelist is that we can give a timeout to make sure the issue get solved. |
|
@albanD yeah that's nice. I just hope the connection with the TODO logic in the new-schema file loader doesn't get lost. @houseroad that was a recent addition, right? Does that TODO have a definite future or do we risk having to rediscover the connection when the whitelist times these additions out? |
|
#31982 will remove |
|
@houseroad ah got it, thanks for the info! |
Summary: Pull Request resolved: pytorch#31949 Test Plan: Imported from OSS Differential Revision: D19314763 Pulled By: albanD fbshipit-source-id: b5eff0ed53a371d260596ca85d914c8bddb0a8aa
Stack from ghstack:
Differential Revision: D19314763