-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[jit] support torch._C._get_tracing_state in script #23248
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
[jit] support torch._C._get_tracing_state in script gh-metadata: pytorch pytorch 23248 gh/wanchaol/33/head
|
What is the use case for this ? |
This is needed to support |
You could also move that call to a function with |
I tried your approach, it unfortunately not working because of the |
|
You can do |
Stack from ghstack:
Differential Revision: D16466588