Skip to content

Conversation

@zdevito
Copy link
Contributor

@zdevito zdevito commented May 29, 2019

Stack from ghstack:

Summary: This is a continuation of #18367 that rebases it and cleans up
some of the issues that were popping up.

Notes:

  1. removed special handling for Python 2 print statements. Its
    implementation was buggy (treated inlined tuples as literal tuples),
    and leaving it out just means that in Python 2 printing multiple values
    will print different in script and python. This is ok, because it is
    minor formatting differences and only in Python 2.

  2. --accepted internal loss of ONNX type information. We are only
    required to have correct input and output types for ONNX not for
    intermediates.

Differential Revision: D15533353

Summary: This is a continuation of #18367 that rebases it and cleans up
some of the issues that were popping up.

Notes:

1. removed special handling for Python 2 print statements. Its
implementation was buggy (treated inlined tuples as literal tuples),
and leaving it out just means that in Python 2 printing multiple values
will print different in script and python. This is ok, because it is
minor formatting differences and only in Python 2.

2. --accepted internal loss of ONNX type information. We are only
required to have correct input and output types for ONNX not for
intermediates.
@pytorchbot pytorchbot added caffe2 oncall: jit Add this issue/PR to JIT oncall triage queue module: build Build system issues module: internals Related to internal abstractions in c10 and ATen module: onnx Related to torch.onnx module: pybind Related to our Python bindings / interactions with other Python libraries module: tests Issues related to tests (not the torch.testing module) labels May 29, 2019
@zdevito zdevito requested a review from Krovatkin May 29, 2019 03:56
zdevito added 2 commits May 28, 2019 21:24
First class functions in IR, inlined eagerly

Summary: This is a continuation of #18367 that rebases it and cleans up
some of the issues that were popping up.

Notes:

1. removed special handling for Python 2 print statements. Its
implementation was buggy (treated inlined tuples as literal tuples),
and leaving it out just means that in Python 2 printing multiple values
will print different in script and python. This is ok, because it is
minor formatting differences and only in Python 2.

2. --accepted internal loss of ONNX type information. We are only
required to have correct input and output types for ONNX not for
intermediates.

gh-metadata: pytorch pytorch 21052 gh/zdevito/40/head
First class functions in IR, inlined eagerly

Summary: This is a continuation of #18367 that rebases it and cleans up
some of the issues that were popping up.

Notes:

1. removed special handling for Python 2 print statements. Its
implementation was buggy (treated inlined tuples as literal tuples),
and leaving it out just means that in Python 2 printing multiple values
will print different in script and python. This is ok, because it is
minor formatting differences and only in Python 2.

2. --accepted internal loss of ONNX type information. We are only
required to have correct input and output types for ONNX not for
intermediates.

gh-metadata: pytorch pytorch 21052 gh/zdevito/40/head
Copy link
Contributor

@Krovatkin Krovatkin left a comment

Choose a reason for hiding this comment

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

:shipit:

First class functions in IR, inlined eagerly

Summary: This is a continuation of #18367 that rebases it and cleans up
some of the issues that were popping up.

Notes:

1. removed special handling for Python 2 print statements. Its
implementation was buggy (treated inlined tuples as literal tuples),
and leaving it out just means that in Python 2 printing multiple values
will print different in script and python. This is ok, because it is
minor formatting differences and only in Python 2.

2. --accepted internal loss of ONNX type information. We are only
required to have correct input and output types for ONNX not for
intermediates.

gh-metadata: pytorch pytorch 21052 gh/zdevito/40/head
zdevito added 3 commits May 29, 2019 15:42
First class functions in IR, inlined eagerly

Summary: This is a continuation of #18367 that rebases it and cleans up
some of the issues that were popping up.

Notes:

1. removed special handling for Python 2 print statements. Its
implementation was buggy (treated inlined tuples as literal tuples),
and leaving it out just means that in Python 2 printing multiple values
will print different in script and python. This is ok, because it is
minor formatting differences and only in Python 2.

2. --accepted internal loss of ONNX type information. We are only
required to have correct input and output types for ONNX not for
intermediates.

gh-metadata: pytorch pytorch 21052 gh/zdevito/40/head

stuff
First class functions in IR, inlined eagerly

Summary: This is a continuation of #18367 that rebases it and cleans up
some of the issues that were popping up.

Notes:

1. removed special handling for Python 2 print statements. Its
implementation was buggy (treated inlined tuples as literal tuples),
and leaving it out just means that in Python 2 printing multiple values
will print different in script and python. This is ok, because it is
minor formatting differences and only in Python 2.

2. --accepted internal loss of ONNX type information. We are only
required to have correct input and output types for ONNX not for
intermediates.

gh-metadata: pytorch pytorch 21052 gh/zdevito/40/head

stuff

no
First class functions in IR, inlined eagerly

Summary: This is a continuation of #18367 that rebases it and cleans up
some of the issues that were popping up.

Notes:

1. removed special handling for Python 2 print statements. Its
implementation was buggy (treated inlined tuples as literal tuples),
and leaving it out just means that in Python 2 printing multiple values
will print different in script and python. This is ok, because it is
minor formatting differences and only in Python 2.

2. --accepted internal loss of ONNX type information. We are only
required to have correct input and output types for ONNX not for
intermediates.

gh-metadata: pytorch pytorch 21052 gh/zdevito/40/head

stuff

no
@zou3519 zou3519 deleted the gh/zdevito/40/head branch May 30, 2019 06:06
zdevito added a commit to zdevito/ATen that referenced this pull request May 30, 2019
Summary:
Pull Request resolved: pytorch/pytorch#21052
ghimport-source-id: cc476b9cc301967dde5de6212ca144cdb252e84c

Differential Revision: D15533353

Pulled By: zdevito

fbshipit-source-id: 4d25461969cfcc9e5f641d585584cc100c7b34ae
@facebook-github-bot
Copy link
Contributor

@zdevito merged this pull request in 3083c71.

1 similar comment
@facebook-github-bot
Copy link
Contributor

@zdevito merged this pull request in 3083c71.

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

Labels

caffe2 Merged module: build Build system issues module: internals Related to internal abstractions in c10 and ATen module: onnx Related to torch.onnx module: pybind Related to our Python bindings / interactions with other Python libraries module: tests Issues related to tests (not the torch.testing module) oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants