Skip to content

Conversation

@eellison
Copy link
Contributor

@eellison eellison commented Feb 7, 2019

No description provided.

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Feb 7, 2019
throw script::ErrorReport(node->getSourceLocation())
<< "could not export python function call " << value->name()
<< ". Remove calls to Python functions before export";
<< ". Remove calls to Python functions before export (did you forget to add it to __constants__?)";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be some filtering here, if this printed when people include a Python function in their model and then export, this suggests adding it to __constants__ will fix it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how to filter that here

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eellison is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants