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

Bug Report: assert module.__class__ in self._origin_call #29

Open
markson14 opened this issue Feb 20, 2021 · 0 comments
Open

Bug Report: assert module.__class__ in self._origin_call #29

markson14 opened this issue Feb 20, 2021 · 0 comments

Comments

@markson14
Copy link

When I run the stat() code, it gives "assert module.class in self._origin_call". I print out the entire log and I find out this module has 3 children and still being assigned to wrap_call
image
Then I went through the code and I tried to print where each module being assigned to wrap_call function from Module._call_impl.
image
The following image is the print log. It seems the log cannot catch the place where this module has been assiged to wrap_call
image
Thus I modified the code to this and this problem can be temporarily solved
image
Can you help me to find out the problem? Thank you.

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

No branches or pull requests

1 participant