Skip to content

pybind conversion for IntList#11425

Closed
t-vi wants to merge 1 commit intopytorch:masterfrom
t-vi:pybind_intlist
Closed

pybind conversion for IntList#11425
t-vi wants to merge 1 commit intopytorch:masterfrom
t-vi:pybind_intlist

Conversation

@t-vi
Copy link
Collaborator

@t-vi t-vi commented Sep 8, 2018

as discussed with @ezyang and @slayton58 , this might be a nice convenience to be able to use code in extensions just as in ATen.

also split off tracing_state.h from torch/jit/tracer.h fix #11204 to bee able to use the utility functions

@pytorchbot it's not a jit patch per se.

also fix pytorch#11204 to use the utility function
@pytorchbot pytorchbot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Sep 8, 2018
}
};

template<> struct type_caster<at::IntList> {

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@ssnl ssnl removed the oncall: jit Add this issue/PR to JIT oncall triage queue label Sep 8, 2018
Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

But in the future, try to avoid batching other changes in the diff as well; it makes life harder if we need to cherry-pick onto a release branch, for example.

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.

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

PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
as discussed with ezyang and slayton58 , this might be a nice convenience to be able to use code in extensions just as in ATen.

also split off `tracing_state.h` from `torch/jit/tracer.h` fix pytorch#11204 to bee able to use the utility functions

pytorchbot  it's not a jit patch per se.
Pull Request resolved: pytorch#11425

Differential Revision: D9735556

Pulled By: ezyang

fbshipit-source-id: 466c92bbdb1d7d7a970eba1c26b7583fe9756139
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot include python torch/csrc/utils/python_numbers.h in extension

5 participants