-
Notifications
You must be signed in to change notification settings - Fork 26.3k
FX graph module - prevent infinite recursion #73866
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
Summary: super(type(self), self) in wrapped_call leads to infinite rescursion for Fx graph module. Test Plan: Tests added in #62436 Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 8d50360 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
Summary: super(type(self), self) in wrapped_call leads to infinite rescursion for Fx graph module. Test Plan: Tests added in #62436 Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: super(type(self), self) in wrapped_call leads to infinite rescursion for Fx graph module. This happens when we call _stateless.functional_call on a fx module. https://github.com/pytorch/pytorch/blob/master/torch%2Fnn%2Futils%2F_stateless.py Test Plan: New tests and original tests added in #62436 Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: c9d5360 Pull Request resolved: #73866
|
@anijain2305 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: Pull Request resolved: #73866 super(type(self), self) in wrapped_call leads to infinite recursion for subclass of Fx graph module. This happens when we call _stateless.functional_call on a fx module. https://github.com/pytorch/pytorch/blob/master/torch%2Fnn%2Futils%2F_stateless.py Test Plan: Tests added in #62436 Imported from OSS Reviewed By: jansel Differential Revision: D34737828 fbshipit-source-id: 871b897e1210173ccc83fe34d53fc41af00a39ee
|
Hey @anijain2305. |
Summary: Pull Request resolved: pytorch/pytorch#73866 super(type(self), self) in wrapped_call leads to infinite recursion for subclass of Fx graph module. This happens when we call _stateless.functional_call on a fx module. https://github.com/pytorch/pytorch/blob/master/torch%2Fnn%2Futils%2F_stateless.py Test Plan: Tests added in pytorch/pytorch#62436 Imported from OSS Reviewed By: jansel Differential Revision: D34737828 fbshipit-source-id: 871b897e1210173ccc83fe34d53fc41af00a39ee (cherry picked from commit 3d0c5fc71503fa2782b497a9d39ce26288fd219b)
Summary: Pull Request resolved: pytorch/pytorch#73866 super(type(self), self) in wrapped_call leads to infinite recursion for subclass of Fx graph module. This happens when we call _stateless.functional_call on a fx module. https://github.com/pytorch/pytorch/blob/master/torch%2Fnn%2Futils%2F_stateless.py Test Plan: Tests added in pytorch/pytorch#62436 Imported from OSS Reviewed By: jansel Differential Revision: D34737828 fbshipit-source-id: 871b897e1210173ccc83fe34d53fc41af00a39ee (cherry picked from commit 3d0c5fc71503fa2782b497a9d39ce26288fd219b)
Stack from ghstack:
Summary: super(type(self), self) in wrapped_call leads to infinite recursion for subclass of Fx graph module. This happens when we call _stateless.functional_call on a fx module. https://github.com/pytorch/pytorch/blob/master/torch%2Fnn%2Futils%2F_stateless.py
Test Plan: Tests added in #62436
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D34737828