8c798e0622
Forbid trailing whitespace ( #53406 )
...
Summary:
Context: https://github.com/pytorch/pytorch/pull/53299#discussion_r587882857
These are the only hand-written parts of this diff:
- the addition to `.github/workflows/lint.yml`
- the file endings changed in these four files (to appease FB-internal land-blocking lints):
- `GLOSSARY.md`
- `aten/src/ATen/core/op_registration/README.md`
- `scripts/README.md`
- `torch/csrc/jit/codegen/fuser/README.md`
The rest was generated by running this command (on macOS):
```
git grep -I -l ' $' -- . ':(exclude)**/contrib/**' ':(exclude)third_party' | xargs gsed -i 's/ *$//'
```
I looked over the auto-generated changes and didn't see anything that looked problematic.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/53406
Test Plan:
This run (after adding the lint but before removing existing trailing spaces) failed:
- https://github.com/pytorch/pytorch/runs/2043032377
This run (on the tip of this PR) succeeded:
- https://github.com/pytorch/pytorch/runs/2043296348
Reviewed By: walterddr, seemethere
Differential Revision: D26856620
Pulled By: samestep
fbshipit-source-id: 3f0de7f7c2e4b0f1c089eac9b5085a58dd7e0d97
2021-03-05 17:22:55 -08:00
9945fd7253
Drop unused imports from caffe2/python ( #49980 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49980
From
```
./python/libcst/libcst codemod remove_unused_imports.RemoveUnusedImportsWithGlean --no-format caffe2/
```
Test Plan: Standard sandcastle tests
Reviewed By: xush6528
Differential Revision: D25727359
fbshipit-source-id: c4f60005b10546423dc093d31d46deb418352286
2021-01-05 13:17:46 -08:00
bdf360f9f2
[ONNX] Update onnx submodule ( #47366 )
...
Summary:
Update onnx submodule to 1.8 release
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47366
Reviewed By: hl475
Differential Revision: D24968733
Pulled By: houseroad
fbshipit-source-id: 2f0a3436ab3c9380ed8ff0887a483743c1209721
2020-11-30 00:05:46 -08:00
27c7158166
Remove __future__ imports for legacy Python2 supports ( #45033 )
...
Summary:
There is a module called `2to3` which you can target for future specifically to remove these, the directory of `caffe2` has the most redundant imports:
```2to3 -f future -w caffe2```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45033
Reviewed By: seemethere
Differential Revision: D23808648
Pulled By: bugra
fbshipit-source-id: 38971900f0fe43ab44a9168e57f2307580d36a38
2020-09-23 17:57:02 -07:00
15ad9dd30f
[ONNX] Bump up ONNX submodule to a82c6a7010e2e332d8f74ad5b0c726fd47c85376 ( #39372 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/39372
we only bump the submodule in oss to unblock some works
Test Plan: ci
Reviewed By: hl475
Differential Revision: D21830800
fbshipit-source-id: fb4a716992efcd71926f7bba24a7c24422c17e38
2020-06-02 21:08:14 -07:00
90a8cdfdbf
Automatic update of fbcode/onnx to eae3eb8c61cf5ad27cc9a416dbdc5274982385a6 ( #39089 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/39089
Previous import was 79a7e0df7e86e0f32e7a05f563b24a566540c18b
Included changes:
- **[eae3eb8c](https://github.com/onnx/onnx/commit/eae3eb8c )**: Use cmake GNUInstallDirs (#2661 ) <Gustavo Alvarez>
- **[106821e9](https://github.com/onnx/onnx/commit/106821e9 )**: Update sequence test case so input is not scalar and splits are specified (#2675 ) <Scott McKay>
- **[e094e101](https://github.com/onnx/onnx/commit/e094e101 )**: Remove unnecessary copies and std::move (#2684 ) <Changming Sun>
- **[71145275](https://github.com/onnx/onnx/commit/71145275 )**: Update Batchnorm test (#2674 ) <Lara Haidar>
- **[da13be2d](https://github.com/onnx/onnx/commit/da13be2d )**: Rename OPTIONAL to OPTIONAL_VALUE (#2682 ) <Changming Sun>
- **[2987fa06](https://github.com/onnx/onnx/commit/2987fa06 )**: Adding CI for ONNX Debug mode (Linux, OSX) (#2651 ) <Vinitra Swamy>
- **[46fe392d](https://github.com/onnx/onnx/commit/46fe392d )**: Update Pow input types in Opset 12 (#2666 ) <Lara Haidar>
- **[ac1caf3b](https://github.com/onnx/onnx/commit/ac1caf3b )**: Change type of label tensor to int32/int64 in SoftmaxCrossEntropyLoss spec. (#2667 ) <M. Zeeshan Siddiqui>
- **[c2fefcbf](https://github.com/onnx/onnx/commit/c2fefcbf )**: [Training] SG with Momentum Optimizer (#1959 ) <Wei-Sheng Chin>
- **[8d15705e](https://github.com/onnx/onnx/commit/8d15705e )**: [Training] Add Adagrad optimizer operator (#1955 ) <Wei-Sheng Chin>
- **[94b01cdd](https://github.com/onnx/onnx/commit/94b01cdd )**: Suppress a warning in unsqueeze (#2637 ) <Hong Xu>
- **[0582d526](https://github.com/onnx/onnx/commit/0582d526 )**: Fix Greater/LessOrEqual function definition (#2645 ) <Takeshi Watanabe>
- **[b852d819](https://github.com/onnx/onnx/commit/b852d819 )**: Increment version number to 1.7.0 (#2639 ) <Chin Huang>
- **[ff4bb553](https://github.com/onnx/onnx/commit/ff4bb553 )**: Regenerate Min test data (#2644 ) <Takeshi Watanabe>
Test Plan: ci
Reviewed By: hl475
Differential Revision: D21750299
fbshipit-source-id: c33ec1b1e0dc65d0187e78db96d749f9037aae9c
2020-05-27 18:55:48 -07:00
93d87a16eb
Revert D21493165: Automatic update of fbcode/onnx to 20b3e10e6c3a9cdab90d2bb864d1c36d3e3651cd
...
Test Plan: revert-hammer
Differential Revision:
D21493165
Original commit changeset: 6863b289bfbf
fbshipit-source-id: 47b530c8ffceb3673a86b6cf0c064fe6af0eb72d
2020-05-26 21:35:29 -07:00
51274b501a
Automatic update of fbcode/onnx to 20b3e10e6c3a9cdab90d2bb864d1c36d3e3651cd ( #38203 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/38203
Previous import was 79a7e0df7e86e0f32e7a05f563b24a566540c18b
Included changes:
- **[20b3e10e](https://github.com/onnx/onnx/commit/20b3e10e )**: Add 'ignore_index' input in the spec for SoftmaxCrossEntropyLoss and NLLLoss. (#2680 ) <M. Zeeshan Siddiqui>
- **[eae3eb8c](https://github.com/onnx/onnx/commit/eae3eb8c )**: Use cmake GNUInstallDirs (#2661 ) <Gustavo Alvarez>
- **[106821e9](https://github.com/onnx/onnx/commit/106821e9 )**: Update sequence test case so input is not scalar and splits are specified (#2675 ) <Scott McKay>
- **[e094e101](https://github.com/onnx/onnx/commit/e094e101 )**: Remove unnecessary copies and std::move (#2684 ) <Changming Sun>
- **[71145275](https://github.com/onnx/onnx/commit/71145275 )**: Update Batchnorm test (#2674 ) <Lara Haidar>
- **[da13be2d](https://github.com/onnx/onnx/commit/da13be2d )**: Rename OPTIONAL to OPTIONAL_VALUE (#2682 ) <Changming Sun>
- **[2987fa06](https://github.com/onnx/onnx/commit/2987fa06 )**: Adding CI for ONNX Debug mode (Linux, OSX) (#2651 ) <Vinitra Swamy>
- **[46fe392d](https://github.com/onnx/onnx/commit/46fe392d )**: Update Pow input types in Opset 12 (#2666 ) <Lara Haidar>
- **[ac1caf3b](https://github.com/onnx/onnx/commit/ac1caf3b )**: Change type of label tensor to int32/int64 in SoftmaxCrossEntropyLoss spec. (#2667 ) <M. Zeeshan Siddiqui>
- **[c2fefcbf](https://github.com/onnx/onnx/commit/c2fefcbf )**: [Training] SG with Momentum Optimizer (#1959 ) <Wei-Sheng Chin>
- **[8d15705e](https://github.com/onnx/onnx/commit/8d15705e )**: [Training] Add Adagrad optimizer operator (#1955 ) <Wei-Sheng Chin>
- **[94b01cdd](https://github.com/onnx/onnx/commit/94b01cdd )**: Suppress a warning in unsqueeze (#2637 ) <Hong Xu>
- **[0582d526](https://github.com/onnx/onnx/commit/0582d526 )**: Fix Greater/LessOrEqual function definition (#2645 ) <Takeshi Watanabe>
- **[b852d819](https://github.com/onnx/onnx/commit/b852d819 )**: Increment version number to 1.7.0 (#2639 ) <Chin Huang>
- **[ff4bb553](https://github.com/onnx/onnx/commit/ff4bb553 )**: Regenerate Min test data (#2644 ) <Takeshi Watanabe>
Test Plan: ci
Reviewed By: hl475
Differential Revision: D21493165
fbshipit-source-id: 6863b289bfbf4235e36f0e2456ce44c776aaf164
2020-05-26 20:12:36 -07:00
8181711637
Automatic update of fbcode/onnx to 79a7e0df7e86e0f32e7a05f563b24a566540c18b ( #38106 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/38106
Previous import was 807c62cf7e4c96ce49040bcf073b7e4a054f28a5
Included changes:
- **[79a7e0df](https://github.com/onnx/onnx/commit/79a7e0df )**: Fix copy paste error of Min op test case (#2640 ) <Takeshi Watanabe>
- **[4cd2538d](https://github.com/onnx/onnx/commit/4cd2538d )**: Add a release pipeline for Windows python packages (#2632 ) <Changming Sun>
- **[e8b33a5a](https://github.com/onnx/onnx/commit/e8b33a5a )**: Adding UnfoldToDepth op [1.7 Release] (#2616 ) <Negin Raoof>
- **[c2a8d525](https://github.com/onnx/onnx/commit/c2a8d525 )**: update docs (#2627 ) <Ksenija Stanojevic>
- **[22752354](https://github.com/onnx/onnx/commit/22752354 )**: Generate tests for MeanSquareDistance and SoftmaxCrossEntropyLoss (#2623 ) <Jonny Shipton>
- **[602bd622](https://github.com/onnx/onnx/commit/602bd622 )**: Add section about external tensor data to IR.md (#2323 ) <Jonny Shipton>
- **[165c3f3b](https://github.com/onnx/onnx/commit/165c3f3b )**: Add integer support to Clip (#2532 ) <Jonny Shipton>
- **[a5fabf87](https://github.com/onnx/onnx/commit/a5fabf87 )**: Add operators LessOrEqual and GreaterOrEqual (as functions) (#2606 ) <Jeremy Cochoy>
- **[f1dcdafc](https://github.com/onnx/onnx/commit/f1dcdafc )**: Fix input document of quantized operators (#2117 ) <Takeshi Watanabe>
- **[43af9b69](https://github.com/onnx/onnx/commit/43af9b69 )**: Add reference impl for sequence ops (#2380 ) <Bowen Bao>
- **[aa50aa12](https://github.com/onnx/onnx/commit/aa50aa12 )**: Print value case of TypeProto more friendly (#2422 ) <Takeshi Watanabe>
- **[2e67bfc3](https://github.com/onnx/onnx/commit/2e67bfc3 )**: Fix issue #2436 (#2447 ) <daquexian>
- **[d27ffc6b](https://github.com/onnx/onnx/commit/d27ffc6b )**: Add support for integer tensors to Min and Max (#2608 ) <Jonny Shipton>
- **[5cc668af](https://github.com/onnx/onnx/commit/5cc668af )**: Update IR.md to describe training extension. (#2615 ) <G. Ramalingam>
- **[8c5bf9d4](https://github.com/onnx/onnx/commit/8c5bf9d4 )**: Generate node backend tests for celu operator (#2607 ) <Jonny Shipton>
- **[7b65287e](https://github.com/onnx/onnx/commit/7b65287e )**: Change dtype of dd_da in gradient test to float32 (#2620 ) <Shinichiro Hamaji>
- **[e91739f2](https://github.com/onnx/onnx/commit/e91739f2 )**: Introduce SoftmaxCrossentropy as a loss function (#2573 ) <Ksenija Stanojevic>
- **[b008ed3a](https://github.com/onnx/onnx/commit/b008ed3a )**: Support gathernd with batch_dim mode (#2585 ) <wezuo>
- **[d2fe4f22](https://github.com/onnx/onnx/commit/d2fe4f22 )**: Introduce MeanSquaredError as Loss Function (#2570 ) <Ksenija Stanojevic>
- **[10b812a6](https://github.com/onnx/onnx/commit/10b812a6 )**: Add support for default attributes within FunctionExpandHelper (#2588 ) <Ewa Tusień>
- **[3368834c](https://github.com/onnx/onnx/commit/3368834c )**: adding version update content. (#2609 ) <Ke Zhang>
- **[8873cb02](https://github.com/onnx/onnx/commit/8873cb02 )**: Adding Inverse Op (#2578 ) <Negin Raoof>
Test Plan: ci
Reviewed By: hl475
Differential Revision: D21471424
fbshipit-source-id: 5009a5f9558458a0aba56b2a9e8fffc3895a9e02
2020-05-08 21:47:11 -07:00
3cade9cdd4
Automatic update of fbcode/onnx to 807c62cf7e4c96ce49040bcf073b7e4a054f28a5 ( #37983 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37983
Previous import was 9fdae4c68960a2d44cd1cc871c74a6a9d469fa1f
Included changes:
- **[807c62cf](https://github.com/onnx/onnx/commit/807c62cf )**: Training Proposal: Spec Changes and Gradient Operator (#2314 ) <Wei-Sheng Chin>
Test Plan: ci
Reviewed By: hl475
Differential Revision: D21441188
fbshipit-source-id: 88b5be5bd479b59bdb45525f5dfe61d787151cdd
2020-05-07 20:07:31 -07:00
d5f8c8f3ba
Revert D20121169: [pytorch][PR] ONNX Export Support for CrossEntropyLoss
...
Test Plan: revert-hammer
Differential Revision:
D20121169
Original commit changeset: 7b56617e8c60
fbshipit-source-id: d7f302d1e54f3c978c3be0a0ad1ee600790a5b27
2020-03-12 20:30:54 -07:00
944ea4c334
ONNX Export Support for CrossEntropyLoss ( #33767 )
...
Summary:
Add ONNX export support for torch.nn.CrossEntropyLoss.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/33767
Reviewed By: hl475
Differential Revision: D20121169
Pulled By: houseroad
fbshipit-source-id: 7b56617e8c60617b922949fc8b4ecc626eedf7ed
2020-03-12 11:46:58 -07:00
e5c7b7b8b5
Automatic update of fbcode/onnx to 04a29addfd5b912812addb8dea5f8763fbfaad01 ( #33328 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/33328
Previous import was 8b3f7e2e7a0f2aba0e629e23d89f07c7fc0e6a5e
Included changes:
- **[04a29add](https://github.com/onnx/onnx/commit/04a29add )**: Use // instead of # (#2598 ) <Lu Fang>
- **[f8e140a9](https://github.com/onnx/onnx/commit/f8e140a9 )**: Kezhan/function update (#2596 ) <Ke Zhang>
- **[6185faae](https://github.com/onnx/onnx/commit/6185faae )**: fix the attribute types section in IR.md (#2590 ) <Ke Zhang>
- **[f254647a](https://github.com/onnx/onnx/commit/f254647a )**: Allow Constant operator to promote scalar and list to tensors. (#2592 ) <Jeremy Cochoy>
- **[f12ec799](https://github.com/onnx/onnx/commit/f12ec799 )**: Add NegativeLogLikelihood(NllLoss) op (#2551 ) <liqunfu>
Test Plan: ci
Reviewed By: hl475
Differential Revision: D19897554
fbshipit-source-id: d8efb5c5ac8f9d71727de33c67af681ed8ec8123
2020-02-13 21:03:17 -08:00
674dca0831
Automatic update of fbcode/onnx to 8b3f7e2e7a0f2aba0e629e23d89f07c7fc0e6a5e ( #33075 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/33075
Previous import was 65020daafa9183c769938b4512ce543fd5740f8f
Included changes:
- **[8b3f7e2e](https://github.com/onnx/onnx/commit/8b3f7e2e )**: Update Dropout and BatchNorm to be Training Friendly (#2568 ) <Lara Haidar>
- **[61f0bbc5](https://github.com/onnx/onnx/commit/61f0bbc5 )**: Fix a bug in ScatterND shape inference (#2577 ) <Bowen Bao>
- **[05bce9cf](https://github.com/onnx/onnx/commit/05bce9cf )**: add utility function to make reference attribute whose name is not the same as the attribute it refers. (#2583 ) <Ke Zhang>
- **[71181c83](https://github.com/onnx/onnx/commit/71181c83 )**: Clarify spec for constant of shape with dim_n = 0 (#2567 ) <Negin Raoof>
- **[eadba733](https://github.com/onnx/onnx/commit/eadba733 )**: Update sigs.md with link to calendar page (#2579 ) <Prasanth Pulavarthi>
- **[08562f8e](https://github.com/onnx/onnx/commit/08562f8e )**: Update working-groups.md (#2580 ) <Prasanth Pulavarthi>
- **[0e718913](https://github.com/onnx/onnx/commit/0e718913 )**: Fix Slice op's shape inference logic (#2526 ) <Hariharan Seshadri>
- **[12111410](https://github.com/onnx/onnx/commit/12111410 )**: Add missing spaces to Random*Like doc (#2572 ) <Takeshi Watanabe>
- **[7e6e61d6](https://github.com/onnx/onnx/commit/7e6e61d6 )**: Contributing: fix typos (#2571 ) <Maher Jendoubi>
- **[bbd604ef](https://github.com/onnx/onnx/commit/bbd604ef )**: Add Einsum op (#2504 ) <Negin Raoof>
- **[fd3ab73a](https://github.com/onnx/onnx/commit/fd3ab73a )**: Clarify split supports zero length splits (#2544 ) <Negin Raoof>
- **[6dd73774](https://github.com/onnx/onnx/commit/6dd73774 )**: Fix circleci build and drop unsupported Windows builds (#2565 ) <Wei-Sheng Chin>
- **[b3d201a2](https://github.com/onnx/onnx/commit/b3d201a2 )**: Fix the formula of intermediate zero calculation for DynamicQuantizeLinear (#2556 ) <Yufeng Li>
- **[3613eb25](https://github.com/onnx/onnx/commit/3613eb25 )**: Add wording to clarify. (#2555 ) <Dwayne Robinson>
- **[dfa4384c](https://github.com/onnx/onnx/commit/dfa4384c )**: Fix shape inference for Split with split attribute (#2328 ) <Shinichiro Hamaji>
- **[684fc1bc](https://github.com/onnx/onnx/commit/684fc1bc )**: Keep symbolic dims in Concat with a single input (#2418 ) <Shinichiro Hamaji>
Test Plan: ci
Reviewed By: hl475
Differential Revision: D19784487
fbshipit-source-id: 421cdc3394faeff0168853f4ff065fc599ca3967
2020-02-07 02:18:57 -08:00
f6f1e0aef5
Automatic update of fbcode/onnx to 65020daafa9183c769938b4512ce543fd5740f8f ( #32125 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32125
Previous import was 57ebc587fcf3913b4be93653b0dd58c686447298
Included changes:
- **[65020daa](https://github.com/onnx/onnx/commit/65020daa )**: better error message for undefined inputs (#2540 ) <Yuxin Wu>
- **[8afff0e9](https://github.com/onnx/onnx/commit/8afff0e9 )**: bump ORT version (#2538 ) <Lu Fang>
- **[3d9ca57e](https://github.com/onnx/onnx/commit/3d9ca57e )**: fix name of directory (#2537 ) <Prasanth Pulavarthi>
- **[df8fa2c9](https://github.com/onnx/onnx/commit/df8fa2c9 )**: Repository guidelines (#2539 ) <Prasanth Pulavarthi>
- **[49cc2f02](https://github.com/onnx/onnx/commit/49cc2f02 )**: Update CircleCI job to use Python3.6 (#2527 ) <bddppq>
- **[25ff79a4](https://github.com/onnx/onnx/commit/25ff79a4 )**: Fix wrong model version, it's not 12 (the onnx_opset_version()), not 11 (the opset version of the latest stable), but 10 (#2478 ) <daquexian>
- **[7cebaed5](https://github.com/onnx/onnx/commit/7cebaed5 )**: Fix Windows py3.5 CI (#2529 ) <bddppq>
- **[eddae00e](https://github.com/onnx/onnx/commit/eddae00e )**: Correct the order of arguments of InferShapes (#2500 ) <Shinichiro Hamaji>
- **[41b5afe6](https://github.com/onnx/onnx/commit/41b5afe6 )**: Include <ostream> in common/status.h (#2519 ) <Casey Carter>
- **[423f1977](https://github.com/onnx/onnx/commit/423f1977 )**: add 8 bit support to maxpool op (#2510 ) <Ashwini Khade>
- **[78593c2f](https://github.com/onnx/onnx/commit/78593c2f )**: add 8 bit support to reducemin and reducemax ops (#2516 ) <Ashwini Khade>
Test Plan: cont build
Reviewed By: benoitsteiner
Differential Revision: D19380034
fbshipit-source-id: ddce8450864a611773b2a32e2f0254c9bb6b6906
2020-01-14 15:21:37 -08:00
c34ef1aa2e
Automatic update of fbcode/onnx to c08a7b76cf7c1555ae37186f12be4d62b2c39b3b ( #30619 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30619
Previous import was fea8568cac61a482ed208748fdc0e1a8e47f62f5
Included changes:
- **[c08a7b76](https://github.com/onnx/onnx/commit/c08a7b76 )**: doc: fix some typos at ONNXIFI (#2473 ) <Yorkie Liu>
- **[4be12d46](https://github.com/onnx/onnx/commit/4be12d46 )**: remove workshop update since it is done (#2460 ) <Prasanth Pulavarthi>
- **[86107d1b](https://github.com/onnx/onnx/commit/86107d1b )**: Updated with correct URL to LICENSE (#2468 ) <Ryan Loney>
- **[9bf6fbb6](https://github.com/onnx/onnx/commit/9bf6fbb6 )**: Update Argmin/Argmax (#2461 ) <Lara Haidar>
- **[748d81b8](https://github.com/onnx/onnx/commit/748d81b8 )**: Fix windows conda build (#2452 ) <Ashwini Khade>
- **[a32db1c5](https://github.com/onnx/onnx/commit/a32db1c5 )**: Delete duplicate word in comment (#2439 ) <Haibo Hao>
- **[e108da9a](https://github.com/onnx/onnx/commit/e108da9a )**: Fix bug in function body verifier (#2390 ) <G. Ramalingam>
- **[c3d3ef82](https://github.com/onnx/onnx/commit/c3d3ef82 )**: docs: fix typo in IR.md (#2441 ) <Elliot Waite>
Test Plan: ci
Reviewed By: hl475
Differential Revision: D18766132
fbshipit-source-id: 13c04f21399579acb87a8f9fac2e4c329b0720b8
2019-12-10 10:15:08 -08:00
d6ee58494f
Automatic update of fbcode/onnx to 23bb6ea1a71f08e200114a153f48bd7adb66d486 ( #26441 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26441
Previous import was 1316afc9f972f81340faa05763e2898f38bcc3b0
Included changes:
- **[23bb6ea1](https://github.com/onnx/onnx/commit/23bb6ea1 )**: Gemm optional bias (#2330 ) <James Allingham>
- **[1ac1f219](https://github.com/onnx/onnx/commit/1ac1f219 )**: Changes for AIX platform (#1913 ) <kavanabhat>
- **[13b026f5](https://github.com/onnx/onnx/commit/13b026f5 )**: Updated test cases for reshape (#2127 ) <James Allingham>
- **[97fcfe30](https://github.com/onnx/onnx/commit/97fcfe30 )**: Replace is by == (#2326 ) <G. Ramalingam>
- **[3b5601e6](https://github.com/onnx/onnx/commit/3b5601e6 )**: Updated docs for strides and dilations attributes (#2291 ) <James Allingham>
- **[d0c697b1](https://github.com/onnx/onnx/commit/d0c697b1 )**: Revamped test cases for Gemm (#2060 ) <James Allingham>
- **[a3955c3c](https://github.com/onnx/onnx/commit/a3955c3c )**: Add more shape inference tests for Logical operators to improve coverage (#2133 ) <Hariharan Seshadri>
- **[e2e12d97](https://github.com/onnx/onnx/commit/e2e12d97 )**: Change incorrect use of ValueError to TypeError (#2304 ) <prcvih>
- **[1f4b5f8c](https://github.com/onnx/onnx/commit/1f4b5f8c )**: Support dynamic 'pads' and 'value' in Pad operator (#2031 ) <Hariharan Seshadri>
Test Plan: ci
Reviewed By: hl475
Differential Revision: D17466717
fbshipit-source-id: 0f89a7a5a821d2c693492c99b4bebd5966e21d9f
2019-09-24 05:38:52 -07:00
bebc3d6aad
Automatic update of fbcode/onnx to 1316afc9f972f81340faa05763e2898f38bcc3b0 ( #26309 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26309
Previous import was 95252c2adec185e305e34486c6756ece9aa8f57f
Included changes:
- **[1316afc9](https://github.com/onnx/onnx/commit/1316afc9 )**: Update IR doc to clarify initializers are permitted as node inputs (#2320 ) <G. Ramalingam>
- **[5e920d0c](https://github.com/onnx/onnx/commit/5e920d0c )**: Avoid uses of special chars (#2315 ) <Wei-Sheng Chin>
- **[2fa08b0f](https://github.com/onnx/onnx/commit/2fa08b0f )**: Regenerate ONNX proto and add release date to ver 6 IR (#2316 ) <Wei-Sheng Chin>
- **[adf9c7a3](https://github.com/onnx/onnx/commit/adf9c7a3 )**: Add description of default type about y_zero_point (#2110 ) <Takeshi Watanabe>
- **[ee7072c7](https://github.com/onnx/onnx/commit/ee7072c7 )**: Support make_attribute empty string (#2129 ) <shjwudp>
- **[f913b6e7](https://github.com/onnx/onnx/commit/f913b6e7 )**: More unsqueeze tests (#2200 ) <James Allingham>
- **[57b51937](https://github.com/onnx/onnx/commit/57b51937 )**: Fix resize shape inference issue in opset10 (#2294 ) <Bowen Bao>
- **[d7595f34](https://github.com/onnx/onnx/commit/d7595f34 )**: Sequence related ops (#2249 ) <Bowen Bao>
- **[599f3da9](https://github.com/onnx/onnx/commit/599f3da9 )**: Add helper function update_inputs_outputs_dims to tools (#2148 ) <Bowen Bao>
- **[3e6382bc](https://github.com/onnx/onnx/commit/3e6382bc )**: Update documentation about required input output types (#2310 ) <G. Ramalingam>
- **[0c765d9b](https://github.com/onnx/onnx/commit/0c765d9b )**: Shape inference for NMS (#2269 ) <Hariharan Seshadri>
- **[89266710](https://github.com/onnx/onnx/commit/89266710 )**: Fix extra collect_snippets warning (#2277 ) (#2307 ) <Lutz Roeder>
Test Plan: ci
Reviewed By: hl475
Differential Revision: D17403954
fbshipit-source-id: 78a9c3ecf5aa7f7a0ba8ea30286eab61ee903772
2019-09-17 06:46:59 -07:00
7e4ac8b851
Automatic update of fbcode/onnx to 7988d8360b11e6003560076e9b1d4aa426db3244 ( #25959 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/25959
Previous import was 28ca699b69b5a31892619defca2391044a9a6052
Included changes:
- **[7988d836](https://github.com/onnx/onnx/commit/7988d836 )**: Supporting negative axes for all existing onnx ops (#2281 ) <Negin Raoof>
- **[5ca0a09e](https://github.com/onnx/onnx/commit/5ca0a09e )**: Update managingexperimentalops.md (#1981 ) <Joseph Spisak>
- **[bc0495c1](https://github.com/onnx/onnx/commit/bc0495c1 )**: Fix link to community docs in readme (#2261 ) <Prasanth Pulavarthi>
- **[2fdb3ef6](https://github.com/onnx/onnx/commit/2fdb3ef6 )**: move map and sequence types to onnx domain, (#2244 ) <Ke Zhang>
- **[568b65aa](https://github.com/onnx/onnx/commit/568b65aa )**: Improve compatiblity with proto3 and enable reading attributes (#2288 ) <Dmitri Smirnov>
- **[1f350f2c](https://github.com/onnx/onnx/commit/1f350f2c )**: Remove type info for loop variadic input in Loop op used to compose the Range op (#2287 ) <Hariharan Seshadri>
- **[eb139446](https://github.com/onnx/onnx/commit/eb139446 )**: Add Foundation WG to working-groups.md (#2276 ) <Ryan Loney>
- **[4eabc4b3](https://github.com/onnx/onnx/commit/4eabc4b3 )**: Fix testdata model for CumSum. Add exclusive attribute. (#2271 ) <jignparm>
- **[1a62afdb](https://github.com/onnx/onnx/commit/1a62afdb )**: Support GatherND operator in ONNX (#2106 ) <Hariharan Seshadri>
- **[0e330e9d](https://github.com/onnx/onnx/commit/0e330e9d )**: Support ScatterND operator in ONNX (#2220 ) <Bowen Bao>
- **[733f7a6a](https://github.com/onnx/onnx/commit/733f7a6a )**: Add Det to ONNX (#2233 ) <Bowen Bao>
- **[52187738](https://github.com/onnx/onnx/commit/52187738 )**: Update the description of nearest_mode of resize op (#2257 ) <daquexian>
- **[64b4b686](https://github.com/onnx/onnx/commit/64b4b686 )**: Adding sparse tensor to ONNX (#2019 ) <G. Ramalingam>
- **[c8a8b7cc](https://github.com/onnx/onnx/commit/c8a8b7cc )**: Support Range operator in ONNX (#2242 ) <Hariharan Seshadri>
- **[44b0d6d5](https://github.com/onnx/onnx/commit/44b0d6d5 )**: Update resize op (#2057 ) <daquexian>
- **[7d907964](https://github.com/onnx/onnx/commit/7d907964 )**: Add function to fuse dynamic quantization graph into 1 node (#2187 ) <Ashwini Khade>
- **[36f8e6d9](https://github.com/onnx/onnx/commit/36f8e6d9 )**: Update logo_request.md (#2231 ) <Prasanth Pulavarthi>
- **[4eb737c8](https://github.com/onnx/onnx/commit/4eb737c8 )**: Update Clip in opset 11 to support min/max as inputs instead of attributes (#2096 ) <Bowen Bao>
- **[a25e1388](https://github.com/onnx/onnx/commit/a25e1388 )**: Fix segfault in tile shape inference (#2221 ) <daquexian>
- **[2dc273c7](https://github.com/onnx/onnx/commit/2dc273c7 )**: update onehot shape inference to reflect the spec for depth input (#2224 ) <Ashwini Khade>
- **[665211c1](https://github.com/onnx/onnx/commit/665211c1 )**: Add GatherElements Op and Rename ScatterElements (#2143 ) <Lara Haidar>
- **[3ba2e31a](https://github.com/onnx/onnx/commit/3ba2e31a )**: Unique (#2141 ) <liqunfu>
- **[5a5588ad](https://github.com/onnx/onnx/commit/5a5588ad )**: Clarify dimension variable scoping (#2211 ) <G. Ramalingam>
- **[fabe39d5](https://github.com/onnx/onnx/commit/fabe39d5 )**: Liqun/topk sort (#2126 ) <liqunfu>
- **[453aa644](https://github.com/onnx/onnx/commit/453aa644 )**: Update document for NMS (#2193 ) <Hector Li>
- **[34e28ec2](https://github.com/onnx/onnx/commit/34e28ec2 )**: Handle negative 'axis' value in Split type and shape inferencing (#2177 ) <Scott McKay>
- **[28ec4583](https://github.com/onnx/onnx/commit/28ec4583 )**: depth to space shuffle order (#2163 ) <Negin Raoof>
- **[98f72629](https://github.com/onnx/onnx/commit/98f72629 )**: minor updates to fix links in readme (#2189 ) <Prasanth Pulavarthi>
- **[321d1467](https://github.com/onnx/onnx/commit/321d1467 )**: Add check to disallow squeezing input axes which are not 1 (#2204 ) <Ashwini Khade>
- **[573f0dc9](https://github.com/onnx/onnx/commit/573f0dc9 )**: fix a bug in fun shape inference (#2188 ) <Tang, Cheng>
- **[36dc7110](https://github.com/onnx/onnx/commit/36dc7110 )**: Clarify ambiguity in gather spec regarding indices expectation (#2202 ) <Ashwini Khade>
- **[a2449673](https://github.com/onnx/onnx/commit/a2449673 )**: Fix some minor issues in IR.md and Versioning.md (#2108 ) <edgchen1>
- **[349aff69](https://github.com/onnx/onnx/commit/349aff69 )**: Skip install typing package for python >=3.5 (#2199 ) <bddppq>
Test Plan: ci
Reviewed By: bddppq, benoitsteiner
Differential Revision: D17296390
fbshipit-source-id: 9f9f5ce85d9694128008d756c2ea393bd4e0cb71
2019-09-12 12:15:03 -07:00
3574d9ff70
updated pixel_shuffle in opset 11 to use depthToSpace
...
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/23739
Differential Revision: D16800355
Pulled By: bddppq
fbshipit-source-id: 1502c5b7ec1495286bad17b6ffa359cf995f78fb
2019-08-15 11:37:44 -07:00
796a39ba85
Automatic update of fbcode/onnx to 707064980b9825b8705b9d1c9aad34d8b022d5dd ( #22981 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22981
Previous import was 806aa863020fa180e57f576cb032ec44ce8ddcca
Included changes:
- **[70706498](https://github.com/onnx/onnx/commit/70706498 )**: TensorProto::INT8 & INT16 were missed here (#2164 ) <ZINEKS>
- **[8218a4ea](https://github.com/onnx/onnx/commit/8218a4ea )**: Fix LabelEncoder's shape inference (#2170 ) <Wei-Sheng Chin>
- **[0f1a9a1c](https://github.com/onnx/onnx/commit/0f1a9a1c )**: Fixing a unit test in Cumsum Operator (#2157 ) <Jeff Saremi>
- **[2c03cff0](https://github.com/onnx/onnx/commit/2c03cff0 )**: [New Operator] CumSum (#2030 ) <Jeff Saremi>
- **[220b8300](https://github.com/onnx/onnx/commit/220b8300 )**: Fix globalpool output shape (#2147 ) <daquexian>
Reviewed By: benoitsteiner
Differential Revision: D16341736
fbshipit-source-id: 7e7a2684d8c821991231bfd6558f9f6cb4fb05fb
2019-07-17 14:05:14 -07:00
c2a08d339b
Automatic update of fbcode/onnx to dd599b05f424eb161a31f3e059566a33310dbe5e ( #21641 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/21641
Previous import was 5160f3ac3380302224998f1c95e111cd961c4bc5
Included changes:
- **[dd599b05](https://github.com/onnx/onnx/commit/dd599b05 )**: Fix type s/depracted/deprecated/ (#2092 ) <Takeshi Watanabe>
- **[abb1702a](https://github.com/onnx/onnx/commit/abb1702a )**: Add shape inference for Tile op (#2076 ) <Hariharan Seshadri>
- **[67638d9c](https://github.com/onnx/onnx/commit/67638d9c )**: [New Operator] Round (#2053 ) <Jeff Saremi>
- **[584e4477](https://github.com/onnx/onnx/commit/584e4477 )**: Add dilations support in ConvTranspose shape inference and update docs (#2068 ) <daquexian>
Reviewed By: zrphercule
Differential Revision: D15762382
fbshipit-source-id: 590f25fb733e1565eb90fcdeb797b0ba34e2d2c3
2019-06-11 16:54:47 -07:00
07ac00d21a
Automatic update of fbcode/onnx to 9005291283e943f1a91da5f0acf218bc4e8eb2ca ( #21057 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/21057
Previous import was cc2333a3f929caca7223b98699237f19388dd585
Included changes:
- **[90052912](https://github.com/onnx/onnx/commit/90052912 )**: Fix wrong condition and add --user in update_doc.sh (#2050 ) <daquexian>
- **[a4f44a20](https://github.com/onnx/onnx/commit/a4f44a20 )**: Add bit-shift operators for supporting hashing (#1931 ) <Wei-Sheng Chin>
- **[0098752c](https://github.com/onnx/onnx/commit/0098752c )**: Add shape inference logic for Expand op (#2041 ) <Hariharan Seshadri>
- **[fbe8addb](https://github.com/onnx/onnx/commit/fbe8addb )**: update qops tests (#2040 ) <Ashwini Khade>
- **[874fb37c](https://github.com/onnx/onnx/commit/874fb37c )**: Fix torchvision installation (#2054 ) <bddppq>
- **[1f5f6582](https://github.com/onnx/onnx/commit/1f5f6582 )**: Fix bug that kernel_shape rather than effective_kernel_shape is used in dilated conv (#2043 ) <daquexian>
- **[38b6c44e](https://github.com/onnx/onnx/commit/38b6c44e )**: Changes done internally at Facebook (#2035 ) <Lu Fang>
- **[5c51f0db](https://github.com/onnx/onnx/commit/5c51f0db )**: Explicitly specify type of integers in the input tensor. (#2034 ) <Dmitri Smirnov>
Reviewed By: benoitsteiner
Differential Revision: D15534241
fbshipit-source-id: 8d2b78a986e5b7fbeb248f2d7b80c1a07230654e
2019-05-30 17:33:18 -07:00
8defcbfcf4
Enable caffe2 softmax tests with ROCm 2.4 ( #20280 )
...
Summary:
cc xw285cornell petrex
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20280
Reviewed By: xw285cornell
Differential Revision: D15262695
Pulled By: bddppq
fbshipit-source-id: d72490ff599cdab0331230bc9b12075085386319
2019-05-08 13:29:11 -07:00
5025d1d5e4
Automatic update of fbcode/onnx to 27d4b617e7097cda7d0d4c45ff2b09d248f33179 ( #19718 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19718
Previous import was 0e8d2bc5e51455c70ef790b9f65aa632ed9bc8a7
Included changes:
- **[27d4b617](https://github.com/onnx/onnx/commit/27d4b617 )**: Adding RoIAlign operator (#1869 ) <Sam Pepose>
- **[70c9026c](https://github.com/onnx/onnx/commit/70c9026c )**: add ReverseSequence op (#1927 ) <Guoliang Hua>
- **[ed2db02a](https://github.com/onnx/onnx/commit/ed2db02a )**: README.md: Update badge style for build status (#1942 ) <Yulong Wang>
- **[e36d3b54](https://github.com/onnx/onnx/commit/e36d3b54 )**: Enable python 3.7 in CI for Windows (#1943 ) <Raymond Yang>
Differential Revision: D15077516
fbshipit-source-id: c8c6935381ff5a96ab9a4ee519685814f4ea6e59
2019-04-25 10:54:15 -07:00
5a796d15be
Automatic update of fbcode/onnx to 0e8d2bc5e51455c70ef790b9f65aa632ed9bc8a7 ( #19568 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19568
Previous import was 83dd62659fc07d5b7fa93b5d1c1879f93509c7db
Included changes:
- **[0e8d2bc5](https://github.com/onnx/onnx/commit/0e8d2bc5 )**: [Minor need to be in 1.5]Fix an issue in NMS test data which introduce wrong shape. (#1953 ) <Hector Li>
- **[9346dd5d](https://github.com/onnx/onnx/commit/9346dd5d )**: adding modulus operator (#1874 ) <Jeff Saremi>
- **[414dbc73](https://github.com/onnx/onnx/commit/414dbc73 )**: Fix shape inference for slice (#1950 ) <Hariharan Seshadri>
- **[6fb0775d](https://github.com/onnx/onnx/commit/6fb0775d )**: Fix shape inference for ConstantOfShape op (#1951 ) <Ashwini Khade>
Reviewed By: bddppq, zrphercule, benoitsteiner
Differential Revision: D15033070
fbshipit-source-id: f7eb90b142cbdc9bf1600cfd33e5a8df709045fb
2019-04-22 17:36:36 -07:00
e714429bf4
Automatic update of fbcode/onnx to 83dd62659fc07d5b7fa93b5d1c1879f93509c7db ( #19454 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19454
Previous import was ad7313470a9119d7e1afda7edf1d654497ee80ab
Included changes:
- **[83dd6265](https://github.com/onnx/onnx/commit/83dd6265 )**: Add NonMaxSuppression operator (#1703 ) <Hector Li>
- **[31ca5d6f](https://github.com/onnx/onnx/commit/31ca5d6f )**: add node tests for quantized ops (#1944 ) <Ashwini Khade>
- **[e6076c1d](https://github.com/onnx/onnx/commit/e6076c1d )**: Fix test stat coverage script (#1948 ) <Raymond Yang>
- **[ad036405](https://github.com/onnx/onnx/commit/ad036405 )**: Add IsInf to detect infinity values (#1884 ) <Wei-Sheng Chin>
Reviewed By: benoitsteiner
Differential Revision: D15010015
fbshipit-source-id: 4b29de21de60f8e6a2db75309809a4e619c92532
2019-04-22 10:46:08 -07:00
a5a1c9a171
Automatic update of fbcode/onnx to fb1a80692c1ab0bd27b1072f2e7bffacba336777 ( #18585 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18585
Previous import was b29e78a4efb8e5d8995f576bbf19a846807829b6
Included changes:
- **[fb1a8069](https://github.com/onnx/onnx/commit/fb1a8069 )**: Fix wrongly handled attribute in MVN and test generating scripts (#1877 ) <Raymond Yang>
- **[b22041c3](https://github.com/onnx/onnx/commit/b22041c3 )**: Add dilation attribute to MaxPool (#1864 ) <karljang>
Reviewed By: zrphercule, benoitsteiner
Differential Revision: D14668623
fbshipit-source-id: fa7f44b1ecc949d8dd654939d20b1e93db98b1d2
2019-03-28 23:47:10 -07:00
1989716ae5
Resubmit PR-18512: Improved onnx export for 3 onnx ops ( #18571 )
...
Summary:
Fix ROCm CI failure
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18571
Differential Revision: D14669323
Pulled By: bddppq
fbshipit-source-id: 022afe5c20e680295c9cfdfe1ec14650305955a8
2019-03-28 18:12:49 -07:00
77280b11e3
Revert D14635130: Improved onnx export for 3 onnx ops.
...
Differential Revision:
D14635130
Original commit changeset: d54a2b6e2950
fbshipit-source-id: f624e2befdde245cb88435a95508b2a8e6b12e61
2019-03-28 10:26:34 -07:00
eee760dbd3
Improved onnx export for 3 onnx ops. ( #18512 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18512
Ceil and Floor have been supported since version 6 of ONNX: export them using the native onnx ops instead of an Aten op.
Similarly, support for the Where op has been added in version 9, so we don't need to wrap these op in an Aten op.
Reviewed By: houseroad
Differential Revision: D14635130
fbshipit-source-id: d54a2b6e295074a6214b5939b21051a6735c9958
2019-03-28 08:55:21 -07:00
afc7574aed
Automatic update of fbcode/onnx to c05f2ae412daf8fd64136ca354b97ccf73e0ea6c ( #18285 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18285
Previous import was 96c58ceeacf0f2b73d752e413e4fd78787a12da3
Included changes:
- **[c05f2ae4](https://github.com/onnx/onnx/commit/c05f2ae4 )**: update both core and ml docs (#1879 ) <Lu Fang>
- **[f895279b](https://github.com/onnx/onnx/commit/f895279b )**: fix the problems introduced in previous PRs in operator registration (#1878 ) <Lu Fang>
- **[f6f80657](https://github.com/onnx/onnx/commit/f6f80657 )**: Skip the schema check on ops in non-standard domain (#1876 ) <Lu Fang>
- **[8c8be722](https://github.com/onnx/onnx/commit/8c8be722 )**: Introduce Function Body Helper (#1868 ) <Sherlock>
- **[b605eafb](https://github.com/onnx/onnx/commit/b605eafb )**: Support down sampling for Upsample with scales < 1. (#1773 ) <Ke Zhang>
- **[47f7aa71](https://github.com/onnx/onnx/commit/47f7aa71 )**: Remove scaledtanh (#1866 ) <Ashwini Khade>
- **[4dfc56de](https://github.com/onnx/onnx/commit/4dfc56de )**: Add Ceil support for Max and Average Pooling (#1860 ) <Lara Haidar>
- **[552a8efc](https://github.com/onnx/onnx/commit/552a8efc )**: Add testcase generator for functions (#1862 ) <Raymond Yang>
- **[fdb978a5](https://github.com/onnx/onnx/commit/fdb978a5 )**: Promote Thresholded Relu Op (#1856 ) <Ashwini Khade>
- **[ce332628](https://github.com/onnx/onnx/commit/ce332628 )**: Update Slice with dynamic input & optional input steps (#1836 ) <Bowen Bao>
- **[3a9a8787](https://github.com/onnx/onnx/commit/3a9a8787 )**: Merge function into opschema (#1834 ) <Raymond Yang>
- **[3dbf8fe9](https://github.com/onnx/onnx/commit/3dbf8fe9 )**: Handle string comparision represented as np.objects (#1851 ) <Dmitri Smirnov>
- **[3b0d3bb2](https://github.com/onnx/onnx/commit/3b0d3bb2 )**: remove global variable in header file (#1850 ) <Lu Fang>
- **[1cca8733](https://github.com/onnx/onnx/commit/1cca8733 )**: bump the version for drop out - fix the issue that the version was not bumped when changing its type constraint declaration. (#1848 ) <Ke Zhang>
- **[1ec81bc6](https://github.com/onnx/onnx/commit/1ec81bc6 )**: Change TopK operator to allow dynamic 'k' (#1829 ) <Hariharan Seshadri>
- **[a89a4a16](https://github.com/onnx/onnx/commit/a89a4a16 )**: Remove exp op: Affine, ImageScaler,ParametricSoftplus, Crop. (#1832 ) <Ke Zhang>
Reviewed By: yinghai
Differential Revision: D14566202
fbshipit-source-id: b1e5912ae6887e2865fc628363071e2b9938dfa4
2019-03-22 00:13:42 -07:00
29c27d7b99
Automatic update of fbcode/onnx to e18bb41d255a23daf368ffd62a2645db55db4c72 ( #17460 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17460
Previous import was 4c091e048ca42682d63ccd3c1811560bc12b732d
Included changes:
- **[e18bb41](https://github.com/onnx/onnx/commit/e18bb41 )**: Infer shape of the second output of Dropout op (#1822 ) <Shinichiro Hamaji>
- **[cb544d0](https://github.com/onnx/onnx/commit/cb544d0 )**: Clarify dtype of Dropout's mask output (#1826 ) <Shinichiro Hamaji>
- **[b60f693](https://github.com/onnx/onnx/commit/b60f693 )**: Fix shape inference when auto_pad is notset (#1824 ) <Li-Wen Chang>
- **[80346bd](https://github.com/onnx/onnx/commit/80346bd )**: update test datat (#1825 ) <Rui Zhu>
- **[b37fc6d](https://github.com/onnx/onnx/commit/b37fc6d )**: Add stringnormalizer operator to ONNX (#1745 ) <Dmitri Smirnov>
Reviewed By: zrphercule
Differential Revision: D14206264
fbshipit-source-id: 0575fa3374ff2b93b2ecee9989cfa4793c599117
2019-02-25 11:09:08 -08:00
bf16a6bc3c
Skip onnx logsoftmax tests in rocm ( #17170 )
...
Summary:
similar to softmax there are issues of getting nan randomly
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17170
Differential Revision: D14110515
Pulled By: bddppq
fbshipit-source-id: 5c97661184d45a02122fd69d35a839fdf4520c8c
2019-02-16 18:06:04 -08:00
ac00e85e36
Remove undefined tensor in jit script ( #16379 )
...
Summary:
This PR is a follow up of #15460 , it did the following things:
* remove the undefined tensor semantic in jit script/tracing mode
* change ATen/JIT schema for at::index and other index related ops with `Tensor?[]` to align with what at::index is really doing and to adopt `optional[tensor]` in JIT
* change python_print to correctly print the exported script
* register both TensorList and ListOfOptionalTensor in JIT ATen ops to support both
* Backward compatibility for `torch.jit.annotate(Tensor, None)`
List of follow ups:
* remove the undefined tensor semantic in jit autograd, autodiff and grad_of
* remove prim::Undefined fully
For easy reviews, please turn on `hide white space changes` in diff settings.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16379
Differential Revision: D13855677
Pulled By: wanchaol
fbshipit-source-id: 0e21c14d7de250c62731227c81bfbfb7b7da20ab
2019-02-07 11:02:14 -08:00
719134f3c3
Automatic update of fbcode/onnx to 15c33c945851907411619f599900c3852108e7e3 ( #16493 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16493
Previous import was dc75285d4a1cff9618400164dfdb26c5a1bab70a
Included changes:
- **[15c33c9](https://github.com/onnx/onnx/commit/15c33c9 )**: Add ppc64le build (#1768 ) <Chin Huang>
- **[198f840](https://github.com/onnx/onnx/commit/198f840 )**: Update Broadcasting.md (#1769 ) <Verma-Rajat>
- **[60ac95f](https://github.com/onnx/onnx/commit/60ac95f )**: Merge back from release 1.4.1 (#1767 ) <Raymond Yang>
- **[a683372](https://github.com/onnx/onnx/commit/a683372 )**: Bump up version number for v1.4.0 (#1761 ) (#1763 ) <Raymond Yang>
- **[dbf3581](https://github.com/onnx/onnx/commit/dbf3581 )**: Add TfIdfVectorizer operator to ONNX (#1721 ) <Dmitri Smirnov>
Reviewed By: zrphercule
Differential Revision: D13858840
fbshipit-source-id: 1d00f63f265cc6deed965b92ed00c44f547ff03e
2019-01-29 13:48:49 -08:00
c33512bdfc
Automatic update of fbcode/onnx to c553fb32a0902ce5dd42e1b40123e9e9b38bdbe7 ( #16190 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16190
Previous import was fd60104394fa353e1762f44ecad1b2166e33deef
Included changes:
- **[c553fb3](https://github.com/onnx/onnx/commit/c553fb3 )**: Handle negative axis in scan shape inference (#1748 ) <G. Ramalingam>
- **[51b6ecc](https://github.com/onnx/onnx/commit/51b6ecc )**: external_data: Store large tensor values in separate files (#678 ) <Michał Karzyński>
- **[ba05f26](https://github.com/onnx/onnx/commit/ba05f26 )**: Scan output axes (#1737 ) <G. Ramalingam>
- **[90920c0](https://github.com/onnx/onnx/commit/90920c0 )**: Add NonZero op. (#1714 ) <Sergii Dymchenko>
- **[c4cf112](https://github.com/onnx/onnx/commit/c4cf112 )**: fix the test cases for constantofshape (#1746 ) <Lu Fang>
- **[d902349](https://github.com/onnx/onnx/commit/d902349 )**: Add sample implementation support (#1712 ) <Lu Fang>
Differential Revision: D13745693
fbshipit-source-id: 05e2cce9ae1dfa2865db83840df64673d55cea57
2019-01-21 09:46:29 -08:00
daedec2350
Support ConstantOfShape in Caffe2 ONNX Backend ( #16108 )
...
Summary:
This PR is the prerequisite to land https://github.com/pytorch/pytorch/pull/16095
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16108
Reviewed By: BIT-silence
Differential Revision: D13725722
Pulled By: houseroad
fbshipit-source-id: 28c0fb72f075cd04f9db44dfab0163844c20c620
2019-01-18 22:58:23 -08:00
1a09a2a27f
Export PyTorch erf to ONNX Erf and add Caffe2 Erf operator
...
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/16106
Differential Revision: D13709490
Pulled By: bddppq
fbshipit-source-id: 1b5b32261f06543371f7bd7ac9b11957a5eb4ad0
2019-01-17 09:18:08 -08:00
8f11df3cb7
Automatic update of fbcode/onnx to 84a0441ae28795a928005863dc142bee81827566 ( #16046 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16046
Previous import was 7abd834091f1024c11749dcfd25126802db9fdd5
Included changes:
- **[84a0441](https://github.com/onnx/onnx/commit/84a0441 )**: Clarify namescopes in the presence of nested subgraphs (#1665 ) <G. Ramalingam>
- **[118fec5](https://github.com/onnx/onnx/commit/118fec5 )**: Add Where op. (#1569 ) <Sergii Dymchenko>
- **[beefa15](https://github.com/onnx/onnx/commit/beefa15 )**: Use strings directly for casing as np.object w/o redundant StringHolder. (#1736 ) <Dmitri Smirnov>
- **[4023bae](https://github.com/onnx/onnx/commit/4023bae )**: Add a capability to input/output unicode strings (#1734 ) <Dmitri Smirnov>
- **[1a8a7fc](https://github.com/onnx/onnx/commit/1a8a7fc )**: typos fixed: iutput -> input (#1726 ) <Beomsoo Kim>
- **[0128478](https://github.com/onnx/onnx/commit/0128478 )**: Scan test update (#1732 ) <G. Ramalingam>
- **[c6a24fd](https://github.com/onnx/onnx/commit/c6a24fd )**: turn rtol to 0.002 on densenet121, since AMD and Nvidia GPU's precion difference (#1733 ) <Lu Fang>
- **[5b7ac72](https://github.com/onnx/onnx/commit/5b7ac72 )**: Add Shrink operator (#1622 ) <Rui Zhu>
Reviewed By: yinghai
Differential Revision: D13676711
fbshipit-source-id: 513cc137223469b47af48919432aaecf58006012
2019-01-15 17:17:31 -08:00
12e6c1ceeb
Automatic update of fbcode/onnx to 8384c788939bc65463f9754b6a7a00b212b18ba1 ( #15739 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15739
Previous import was 765f5ee823a67a866f4bd28a9860e81f3c811ce8
Included changes:
- **[8384c78](https://github.com/onnx/onnx/commit/8384c78 )**: add constantofshape (#1582 ) <Rui Zhu>
- **[9afc06c](https://github.com/onnx/onnx/commit/9afc06c )**: Set symbol visibility to hidden for non-Windows (#1707 ) <Paul Jesse Hellemn>
- **[6f8a9f0](https://github.com/onnx/onnx/commit/6f8a9f0 )**: Revert "Add NonMaxSupression operator (#1695 )" (#1702 ) <Lu Fang>
- **[8b89544](https://github.com/onnx/onnx/commit/8b89544 )**: Add NonMaxSupression operator (#1695 ) <Hector Li>
- **[0a7cc48](https://github.com/onnx/onnx/commit/0a7cc48 )**: Add bfloat16 support. (#1699 ) <Dmitri Smirnov>
- **[da7c50c](https://github.com/onnx/onnx/commit/da7c50c )**: ONNX does not maintain versions for experimental ops (#1696 ) <Ke Zhang>
- **[0c8d857](https://github.com/onnx/onnx/commit/0c8d857 )**: Correct type of value_info in Graph (#1694 ) <Maik Riechert>
- **[f612532](https://github.com/onnx/onnx/commit/f612532 )**: Fix typos (#1686 ) <Eundoo Song>
Reviewed By: zrphercule
Differential Revision: D13581674
fbshipit-source-id: 8f8ee86a05a86fe99bf94509148c559ea3df1464
2019-01-04 15:56:55 -08:00
855d9e1f19
Run ONNX cuda backend test cases via ROCm
...
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/15069
Differential Revision: D13427757
Pulled By: bddppq
fbshipit-source-id: ba0273d75986cd5b146f7041a83c63ddf9c6c0cf
2018-12-13 15:10:00 -08:00
5e06fa0baf
ONNX changes to use int32_t (instead of enum) to store data type
...
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/14926
Reviewed By: houseroad
Differential Revision: D13390642
Pulled By: bddppq
fbshipit-source-id: c2314b24d9384f188fda2b9a5cc16465ad39581e
2018-12-08 01:06:08 -08:00
5be28ade66
Automatic update of fbcode/onnx to aca8473a40cf43f01958c81b648efcee7f3a755a ( #14865 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14865
Previous import was 42804705bdbf179d1a98394008417e1392013547
Included changes:
- **[aca8473](https://github.com/onnx/onnx/commit/aca8473 )**: Add Erf operator for computing error function (#1675 ) <bddppq>
- **[3fc82ca](https://github.com/onnx/onnx/commit/3fc82ca )**: Add IsNaN operator. (#1656 ) <Pranav Sharma>
- **[0685f01](https://github.com/onnx/onnx/commit/0685f01 )**: Add Sign Op (#1658 ) <Rui Zhu>
- **[2a8fae8](https://github.com/onnx/onnx/commit/2a8fae8 )**: Fix unused var warning (#1669 ) <Yinghai Lu>
- **[e212833](https://github.com/onnx/onnx/commit/e212833 )**: Update scan (#1653 ) <G. Ramalingam>
Reviewed By: zrphercule
Differential Revision: D13370727
fbshipit-source-id: 13a93d5acc8d4758f682278ea162ec9124ced22d
2018-12-07 17:37:42 -08:00
44894915d6
Automatic update of fbcode/onnx to 6b34743d2e361bbc0acb29dd73536478cb92562e ( #14637 )
...
Summary:
Previous import was f461f7aad9987635b4aff108620ed7918f002d19
Included changes:
- **[6b34743](https://github.com/onnx/onnx/commit/6b34743 )**: fix the const map initializatoin (#1662 ) <Lu Fang>
- **[ae80999](https://github.com/onnx/onnx/commit/ae80999 )**: Fuse Pad into Conv optimizer (#1580 ) <vloncar>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14637
Differential Revision: D13281338
Pulled By: houseroad
fbshipit-source-id: c31429914bf5954fdc85e0c02168836ef47d635c
2018-12-03 20:11:17 -08:00
2752ad8045
Automatic update of fbcode/onnx to f461f7aad9987635b4aff108620ed7918f002d19 ( #14568 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14568
Previous import was 882c5283c54345d131e8fe5c859e4844dcf7ca8e
Included changes:
- **[f461f7a](https://github.com/onnx/onnx/commit/f461f7a )**: Show the op's type and name when the shape inference is failed. (#1623 ) <Jerry>
- **[ab8aaf9](https://github.com/onnx/onnx/commit/ab8aaf9 )**: Add scan test case (#1586 ) <G. Ramalingam>
- **[c95357e](https://github.com/onnx/onnx/commit/c95357e )**: link the tutorial (#1650 ) <Lu Fang>
- **[d7e2420](https://github.com/onnx/onnx/commit/d7e2420 )**: Upgrade label encoder to support more input types (#1596 ) <Wei-Sheng Chin>
- **[6425108](https://github.com/onnx/onnx/commit/6425108 )**: Add Doc about Adding New Operator into ONNX (#1647 ) <Lu Fang>
- **[295889c](https://github.com/onnx/onnx/commit/295889c )**: use an empty initializer to create map (#1643 ) <Lu Fang>
- **[e38f3ec](https://github.com/onnx/onnx/commit/e38f3ec )**: Remove redundant const (#1639 ) <daquexian>
- **[ea694bf](https://github.com/onnx/onnx/commit/ea694bf )**: implement fuse reduce->unsqueeze + fix assumption in nop_dropout pass (#1565 ) <Armen>
- **[6db386e](https://github.com/onnx/onnx/commit/6db386e )**: make output shape clear enough for Softmax family (#1634 ) <Lu Fang>
- **[2b67c6e](https://github.com/onnx/onnx/commit/2b67c6e )**: fix batchnorm doc (#1633 ) <Lu Fang>
- **[c901784](https://github.com/onnx/onnx/commit/c901784 )**: remove inappropriate consts (#1632 ) <Lu Fang>
- **[de82119](https://github.com/onnx/onnx/commit/de82119 )**: Shape inference fix for broadcast, concat and scan (#1594 ) <KeDengMS>
- **[d7ffe3b](https://github.com/onnx/onnx/commit/d7ffe3b )**: Update Optimizer Docs (#1607 ) <Armen>
- **[d09d139](https://github.com/onnx/onnx/commit/d09d139 )**: mark PROTOBUF_INCLUDE_DIRS as BUILD_INTERFACE (#1466 ) <Yuta Okamoto>
- **[eb4b7c2](https://github.com/onnx/onnx/commit/eb4b7c2 )**: allow variadic parameters of different types (#1615 ) <G. Ramalingam>
- **[4166246](https://github.com/onnx/onnx/commit/4166246 )**: Fix onnxifi test (#1617 ) <Yinghai Lu>
- **[6706a4d](https://github.com/onnx/onnx/commit/6706a4d )**: Fix a bug in vector address access (#1598 ) <Raymond Yang>
- **[ae39866](https://github.com/onnx/onnx/commit/ae39866 )**: Separate types of inputs 1 and 2 in OneHot op. (#1610 ) <Spandan Tiwari>
- **[45ba661](https://github.com/onnx/onnx/commit/45ba661 )**: Handle new types in the switch. (#1608 ) <Dmitri Smirnov>
- **[14853b6](https://github.com/onnx/onnx/commit/14853b6 )**: Bump docker image version to 230 used in CircleCI (#1606 ) <bddppq>
- **[e0993b8](https://github.com/onnx/onnx/commit/e0993b8 )**: [onnxifi] Make sure that backend handles run async. (#1599 ) <Roman Dzhabarov>
- **[e6965cc](https://github.com/onnx/onnx/commit/e6965cc )**: Introduce SparseTensor ML proto (#1554 ) <Dmitri Smirnov>
- **[75b782f](https://github.com/onnx/onnx/commit/75b782f )**: In driver test check the return status of onnxGetBackendIDs (#1597 ) <bddppq>
- **[c05b364](https://github.com/onnx/onnx/commit/c05b364 )**: Make CI log less verbose (#1595 ) <bddppq>
- **[fa568e4](https://github.com/onnx/onnx/commit/fa568e4 )**: Loop type shape inferencing (#1591 ) <Scott McKay>
- **[937e64c](https://github.com/onnx/onnx/commit/937e64c )**: add uint8 (#1590 ) <Lu Fang>
- **[f86e951](https://github.com/onnx/onnx/commit/f86e951 )**: Add domain as an optional parameter for make_node function (#1588 ) <Young Kim>
- **[ff45588](https://github.com/onnx/onnx/commit/ff45588 )**: Remove unreachable code in shape_inference.h (#1585 ) <Changming Sun>
- **[f7dcad0](https://github.com/onnx/onnx/commit/f7dcad0 )**: Add several hyperbolic function ops. (#1499 ) <Sergii Dymchenko>
- **[a60ac7d](https://github.com/onnx/onnx/commit/a60ac7d )**: Add OneHot op to ONNX. (#1567 ) <Spandan Tiwari>
- **[f6c3a7e](https://github.com/onnx/onnx/commit/f6c3a7e )**: [compiler flag] Issue a warning if class has virtual method but missing virtual dtor. (#1583 ) <Roman Dzhabarov>
- **[88d1784](https://github.com/onnx/onnx/commit/88d1784 )**: Fix MaxUnpool shape inference when output_shape is provided as input (#1578 ) <Spandan Tiwari>
- **[20041b7](https://github.com/onnx/onnx/commit/20041b7 )**: Add type shape inferencing for the If operator (#1571 ) <Scott McKay>
- **[d6c4c75](https://github.com/onnx/onnx/commit/d6c4c75 )**: Add a virtual destructor to GraphInferencer (#1574 ) <Changming Sun>
- **[a339598](https://github.com/onnx/onnx/commit/a339598 )**: fix ConvTranspose spec (#1566 ) <Wenhao Hu>
Reviewed By: zrphercule
Differential Revision: D13263831
fbshipit-source-id: a2ff22c6454e2430429e5a7d18d21661a7ffb0cb
2018-11-29 16:31:56 -08:00
02d3787a19
Support new upsample in symbolic, caffe2 backend & caffe2 frontend ( #13272 )
...
Summary:
We updated the description of upsample_op in onnx: https://github.com/onnx/onnx/pull/1467
Therefore, we need to support the new upsample_op in caffe2-onnx backend as well.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13272
Reviewed By: houseroad
Differential Revision: D12833656
Pulled By: zrphercule
fbshipit-source-id: 21af5282abaae12d2d044e4018a2b152aff79917
2018-11-05 19:13:57 -08:00
5cbb33f939
Disable upsample optest ( #13135 )
...
Summary:
Temporarily disable upsample tests.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13135
Reviewed By: bddppq
Differential Revision: D10859926
Pulled By: houseroad
fbshipit-source-id: 9eb068198d43ba0939d81a9e41eb6f24ff19cb6d
2018-10-25 20:37:09 -07:00
f9d1b63d18
Automatic update of fbcode/onnx to f8828e532da4795e8ea15f5850a37c5179917b9b ( #12823 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12823
Previous import was 1cbe2743cda739ff752d6ce79553b0ef8ad49783
Included changes:
- **[f8828e5](https://github.com/onnx/onnx/commit/f8828e5 )**: Use vector instead of set to keep the order of the opt passes (#1524 ) <Lu Fang>
- **[b5a37c4](https://github.com/onnx/onnx/commit/b5a37c4 )**: Pin awscli to last known good version (#1518 ) <bddppq>
- **[3e219f6](https://github.com/onnx/onnx/commit/3e219f6 )**: ONNX Optimization Rewrite (#1452 ) <Armen>
- **[96758c9](https://github.com/onnx/onnx/commit/96758c9 )**: Add MaxUnpool op to ONNX. (#1494 ) <Spandan Tiwari>
- **[c4f7043](https://github.com/onnx/onnx/commit/c4f7043 )**: Update docker image version used in CircleCI (#1511 ) <bddppq>
Differential Revision: D10447573
fbshipit-source-id: 8748ba6e3be322a26a9a360ff7f2babd54fd581f
2018-10-18 16:17:25 -07:00
cdead5ace1
Enable CircleCI for Linux jobs ( #12389 )
...
Summary:
Changes in this PR:
1. Intermediate Docker image is shared from build stage to test stage through ECR, in order to fix the Caffe2 flaky CUDA tests.
2. There are ~7 Caffe2 operator tests that are only flaky in `caffe2_py2_gcc4_8_ubuntu14_04_test` on CPU. Disabling those tests on that config only, which is okay to do because we are still running those tests in other test jobs.
After this PR is merged, CircleCI will be running on master automatically, and will be running on PRs if the author rebased their PR onto the newest master (which we will ask all the authors to do when we switch off Jenkins for Linux).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12389
Differential Revision: D10224267
Pulled By: yf225
fbshipit-source-id: dd1a90a425c3d13b870d3d328cb301eee2e6e2cd
2018-10-08 17:09:37 -07:00