Commit Graph

2 Commits

Author SHA1 Message Date
Xuehai Pan
0dae2ba5bd [2/N][Easy] fix typo for usort config in pyproject.toml (kown -> known): sort caffe2 (#127123)
The `usort` config in `pyproject.toml` has no effect due to a typo. Fixing the typo make `usort` do more and generate the changes in the PR. Except `pyproject.toml`, all changes are generated by `lintrunner -a --take UFMT --all-files`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/127123
Approved by: https://github.com/Skylion007
ghstack dependencies: #127122
2024-05-25 18:26:34 +00:00
Thiago Crepaldi
bcf7036be5 Disable BUILD_CAFFE2 from ONNX builds (#90475)
Fixes https://github.com/microsoft/onnx-converters-private/issues/132

@kit1980 and @malfet agreed in disabling ONNX tests for Caffe2 builds.
With this change, exporting models with `operator+export_type=ONNX_ATEN_FALLBACK` will properly test non-caffe2 builds, which is the only scenario for aten fallback after caffe2 deprecation

Pull Request resolved: https://github.com/pytorch/pytorch/pull/90475
Approved by: https://github.com/kit1980, https://github.com/BowenBao
2022-12-09 18:02:48 +00:00