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

[jit] Can't torch.jit.script a lambda #19117

Open
driazati opened this issue Apr 10, 2019 · 1 comment
Open

[jit] Can't torch.jit.script a lambda #19117

driazati opened this issue Apr 10, 2019 · 1 comment
Labels
jit-backlog low priority We're unlikely to get around to doing this in the near future oncall: jit Add this issue/PR to JIT oncall triage queue triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@driazati
Copy link
Contributor

driazati commented Apr 10, 2019

Something like torch.jit.script(lambda x: x + 2) fails since our source introspection requires a standalone function

cc @suo

@driazati driazati added the low priority We're unlikely to get around to doing this in the near future label Apr 10, 2019
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Apr 10, 2019
@suo suo added the jit-backlog label Oct 3, 2019
@wanchaol wanchaol added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Dec 2, 2019
@jspong
Copy link

jspong commented Dec 28, 2022

Is there any update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jit-backlog low priority We're unlikely to get around to doing this in the near future oncall: jit Add this issue/PR to JIT oncall triage queue triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

5 participants