Skip to content

Fix when running with python -O#2120

Merged
soumith merged 1 commit intopytorch:masterfrom
albanD:fix_optimized_python
Jul 16, 2017
Merged

Fix when running with python -O#2120
soumith merged 1 commit intopytorch:masterfrom
albanD:fix_optimized_python

Conversation

@albanD
Copy link
Collaborator

@albanD albanD commented Jul 16, 2017

Running optimized python removes asserts which causes #1848 .

@soumith soumith merged commit 849fb1f into pytorch:master Jul 16, 2017
@soumith
Copy link
Collaborator

soumith commented Jul 16, 2017

thanks!

@albanD albanD deleted the fix_optimized_python branch July 16, 2017 17:56
@apaszke
Copy link
Contributor

apaszke commented Jul 16, 2017

This is still incorrect, because if someone runs with -O, then we won't even check if the initialization completed without errors. I have a patch in a PR that I'll send in a moment

houseroad added a commit to houseroad/pytorch that referenced this pull request Jun 27, 2019
…2f85f1

Summary:
Previous import was 355a4954ea4e5836a5e943589509951c44feb6b4

Included changes:
- **[d94f99d2](onnx/onnx@d94f99d2)**: Avoid unnecessary copies of names by checker (pytorch#2098) <Scott McKay>
- **[01f77251](onnx/onnx@01f77251)**: update qlinear conv test (pytorch#2120) <Ashwini Khade>
- **[1f0c13d3](onnx/onnx@1f0c13d3)**: Add shape inference for LinearClassifier (pytorch#2077) <Hariharan Seshadri>
- **[eb798fcf](onnx/onnx@eb798fcf)**: Fix inconsistency in describing graph's initializer. The initializer (pytorch#2115) <xykong58>

Differential Revision: D16040208

fbshipit-source-id: eca5f963cf5a84572f553b4ae4136973a5e30441
houseroad added a commit to houseroad/pytorch that referenced this pull request Jun 28, 2019
…8ddcca

Summary:
Previous import was 355a4954ea4e5836a5e943589509951c44feb6b4

Included changes:
- **[806aa863](onnx/onnx@806aa863)**: Expose ONNX_ML build option to python (pytorch#2138) <bddppq>
- **[8f6e60db](onnx/onnx@8f6e60db)**: Missing newline fix   (pytorch#2128) <Chris Seymour>
- **[d94f99d2](onnx/onnx@d94f99d2)**: Avoid unnecessary copies of names by checker (pytorch#2098) <Scott McKay>
- **[01f77251](onnx/onnx@01f77251)**: update qlinear conv test (pytorch#2120) <Ashwini Khade>
- **[1f0c13d3](onnx/onnx@1f0c13d3)**: Add shape inference for LinearClassifier (pytorch#2077) <Hariharan Seshadri>
- **[eb798fcf](onnx/onnx@eb798fcf)**: Fix inconsistency in describing graph's initializer. The initializer (pytorch#2115) <xykong58>

Reviewed By: zrphercule

Differential Revision: D16061494

fbshipit-source-id: effe2fa669cf840c715ecd8f5f128efe27415bd0
facebook-github-bot pushed a commit that referenced this pull request Jun 29, 2019
…8ddcca (#22359)

Summary:
Pull Request resolved: #22359

Previous import was 355a4954ea4e5836a5e943589509951c44feb6b4

Included changes:
- **[806aa863](onnx/onnx@806aa863)**: Expose ONNX_ML build option to python (#2138) <bddppq>
- **[8f6e60db](onnx/onnx@8f6e60db)**: Missing newline fix   (#2128) <Chris Seymour>
- **[d94f99d2](onnx/onnx@d94f99d2)**: Avoid unnecessary copies of names by checker (#2098) <Scott McKay>
- **[01f77251](onnx/onnx@01f77251)**: update qlinear conv test (#2120) <Ashwini Khade>
- **[1f0c13d3](onnx/onnx@1f0c13d3)**: Add shape inference for LinearClassifier (#2077) <Hariharan Seshadri>
- **[eb798fcf](onnx/onnx@eb798fcf)**: Fix inconsistency in describing graph's initializer. The initializer (#2115) <xykong58>

Reviewed By: bddppq, zrphercule

Differential Revision: D16061494

fbshipit-source-id: 6ccb63c135c27b307048aa42c11313675027ffb7
xzhu1900 pushed a commit to xzhu1900/pytorch that referenced this pull request Jul 5, 2019
…8ddcca (pytorch#22359)

Summary:
Pull Request resolved: pytorch#22359

Previous import was 355a4954ea4e5836a5e943589509951c44feb6b4

Included changes:
- **[806aa863](onnx/onnx@806aa863)**: Expose ONNX_ML build option to python (pytorch#2138) <bddppq>
- **[8f6e60db](onnx/onnx@8f6e60db)**: Missing newline fix   (pytorch#2128) <Chris Seymour>
- **[d94f99d2](onnx/onnx@d94f99d2)**: Avoid unnecessary copies of names by checker (pytorch#2098) <Scott McKay>
- **[01f77251](onnx/onnx@01f77251)**: update qlinear conv test (pytorch#2120) <Ashwini Khade>
- **[1f0c13d3](onnx/onnx@1f0c13d3)**: Add shape inference for LinearClassifier (pytorch#2077) <Hariharan Seshadri>
- **[eb798fcf](onnx/onnx@eb798fcf)**: Fix inconsistency in describing graph's initializer. The initializer (pytorch#2115) <xykong58>

Reviewed By: bddppq, zrphercule

Differential Revision: D16061494

fbshipit-source-id: 6ccb63c135c27b307048aa42c11313675027ffb7
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.

4 participants