Nikita Shulga
bd0907dc4c
[BE][CI] Unify requirments ( #163396 )
...
Both Linux, Windows and MacOS CI workflows should use `.ci/docker/requirements-ci.txt`
TODOS:
- Investigate why `choco install cmake` is needed to successfully detect MKL
- Move `psutil` installation from specific scripts into requirements-ci.txt
Pull Request resolved: https://github.com/pytorch/pytorch/pull/163396
Approved by: https://github.com/Skylion007
2025-10-01 03:28:48 +00:00
Klaus Zimmermann
50d418f69f
Replace setup.py bdist_wheel with python -m build --wheel ( #156712 )
...
Previously we already replaced most use of `python setup.py develop/install`.
This PR also replaces the use of `setup.py bdist_wheel` with the modern `python -m build --wheel` alternative.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156712
Approved by: https://github.com/atalman
ghstack dependencies: #156711
2025-09-29 21:51:32 +00:00
dependabot[bot]
da954f10d6
Bump protobuf from 5.29.4 to 5.29.5 in /.github/requirements ( #160844 )
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 5.29.4 to 5.29.5.
<details>
<summary>Commits</summary>
<ul>
<li><a href="f5de0a0495 "><code>f5de0a0</code></a> Updating version.json and repo version numbers to: 29.5</li>
<li><a href="85637662f7 "><code>8563766</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/21858 ">#21858</a> from shaod2/py-cp-29</li>
<li><a href="05ba1a8104 "><code>05ba1a8</code></a> Add recursion depth limits to pure python</li>
<li><a href="1ef3f01c46 "><code>1ef3f01</code></a> Internal pure python fixes</li>
<li><a href="69cca9b7f5 "><code>69cca9b</code></a> Remove fast-path check for non-clang compilers in MessageCreator. (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/21612 ">#21612</a>)</li>
<li><a href="21fdb7acdb "><code>21fdb7a</code></a> fix: contains check segfaults on empty map (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/20446 ">#20446</a>) (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/20904 ">#20904</a>)</li>
<li><a href="03c50e3874 "><code>03c50e3</code></a> Re-enable aarch64 tests. (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/20853 ">#20853</a>)</li>
<li><a href="128f0aafd9 "><code>128f0aa</code></a> Add volatile to featuresResolved (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/20767 ">#20767</a>)</li>
<li><a href="bdd49bb141 "><code>bdd49bb</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/20755 ">#20755</a> from protocolbuffers/29.x-202503192110</li>
<li><a href="c65946848f "><code>c659468</code></a> Updating version.json and repo version numbers to: 29.5-dev</li>
<li>See full diff in <a href="https://github.com/protocolbuffers/protobuf/compare/v5.29.4...v5.29.5 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/pytorch/pytorch/network/alerts ).
</details>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/160844
Approved by: https://github.com/msaroufim
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-12 04:23:03 +00:00
dependabot[bot]
62f044e260
Bump setuptools from 72.1.0 to 78.1.1 in /.github/requirements ( #162701 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 72.1.0 to 78.1.1.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v72.1.0...v78.1.1 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-version: 78.1.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-11 21:03:27 -07:00
Shangdi Yu
92c2daebb6
Add inductor provenance tracking artifacts to cache ( #161440 )
...
Summary:
- Add inductor provenance tracking artifacts to cache
- Update the tlparse version pin to `0.4.0`. The old tlparse version errors out on the new tlparse output. The lowest tlparse version that works is `0.3.42`.
tlparse error:
```
thread 'main' panicked at src/parsers.rs:671:71:
called `Result::unwrap()` on an `Err` value: Error("EOF while parsing a value", line: 1, column: 0)
stack backtrace:
0: 0x55e4ff1c7f00 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
1: 0x55e4ff1ee503 - core::fmt::write::h5af61a909e3ec64d
2: 0x55e4ff1c4c33 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
3: 0x55e4ff1c7d52 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
4: 0x55e4ff1c8caf - std::panicking::default_hook::{{closure}}::h9128866118196224
5: 0x55e4ff1c8b1a - std::panicking::default_hook::h52e9e7314e0255f6
6: 0x55e4ff1c9652 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
7: 0x55e4ff1c93fa - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
8: 0x55e4ff1c8419 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
9: 0x55e4ff1c908d - rust_begin_unwind
10: 0x55e4fef7a030 - core::panicking::panic_fmt::h5764ee7030b7a73d
11: 0x55e4fef7a406 - core::result::unwrap_failed::h3ff7104a9ace307a
12: 0x55e4fefb3c56 - <tlparse::parsers::ArtifactParser as tlparse::parsers::StructuredLogParser>::parse::h20bc51a17ffc494a
13: 0x55e4fef9669a - tlparse::run_parser::h20c7729f151eec62
14: 0x55e4fef99a1b - tlparse::parse_path::he4892147f47fbade
15: 0x55e4fef7c760 - tlparse::main::hdc05613b32f4f53b
16: 0x55e4fef89263 - std::sys::backtrace::__rust_begin_short_backtrace::h15f188f3edf42596
17: 0x55e4fef8827d - std::rt::lang_start::{{closure}}::he2c21e32a442538e
18: 0x55e4ff1be0f0 - std::rt::lang_start_internal::h15895544e2012228
19: 0x55e4fef83975 - main
20: 0x7f0b3662a610 - __libc_start_call_main
21: 0x7f0b3662a6c0 - __libc_start_main_alias_2
22: 0x55e4fef7a610 - <unknown>
23: 0x0 - <unknown>
```
Test Plan:
```
buck run mode/dev-nosan fbcode//caffe2/test/inductor:provenance_tracing -- -r test_kernel_information_generation
python test/dynamo/test_structured_trace.py -k test_chromium_event
```
Differential Revision: D80976585
Pull Request resolved: https://github.com/pytorch/pytorch/pull/161440
Approved by: https://github.com/oulgen
2025-08-28 01:16:02 +00:00
Nikita Shulga
8d1cf52922
[EZ][BE] Remove unused conda-env-macOS-ARM64 ( #160477 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/160477
Approved by: https://github.com/atalman
2025-08-12 23:41:25 +00:00
Xuehai Pan
efcf87654e
[CI] update flake8 and mypy lint dependencies ( #158720 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158720
Approved by: https://github.com/Skylion007
2025-07-29 08:05:56 +00:00
PyTorch MergeBot
59e261bbd8
Revert "[CI] update flake8 and mypy lint dependencies ( #158720 )"
...
This reverts commit f5130bf339 .
Reverted https://github.com/pytorch/pytorch/pull/158720 on behalf of https://github.com/yangw-dev due to this pr failed internally when build torchgen due to rror: fail: Unknown PyPI project: pyyaml, it seems like this is caused by change PyYAML into pyyaml, please fix it ([comment](https://github.com/pytorch/pytorch/pull/158720#issuecomment-3129995414 ))
2025-07-28 22:02:10 +00:00
Xuehai Pan
f5130bf339
[CI] update flake8 and mypy lint dependencies ( #158720 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158720
Approved by: https://github.com/Skylion007
2025-07-26 17:12:29 +00:00
Xuehai Pan
64e8d7d66b
[BE] bump test dependency z3-solver to drop using deprecated pkg_resources ( #158905 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158905
Approved by: https://github.com/albanD , https://github.com/ezyang
ghstack dependencies: #158904
2025-07-23 21:01:02 +00:00
PyTorch MergeBot
feaa02f9ad
Revert "[build] pin setuptools>=77 to enable PEP 639 ( #158104 )"
...
This reverts commit a78fb63dbd .
Reverted https://github.com/pytorch/pytorch/pull/158104 on behalf of https://github.com/malfet due to It still breaks inductor-perf-nightly, see https://github.com/pytorch/pytorch/actions/runs/16425364208/job/46417088208 , I'm going to dismiss all previous reviews ([comment](https://github.com/pytorch/pytorch/pull/158104#issuecomment-3099706457 ))
2025-07-21 22:46:53 +00:00
Xuehai Pan
a78fb63dbd
[build] pin setuptools>=77 to enable PEP 639 ( #158104 )
...
For reference here is the link PEP 639: [peps.python.org/pep-0639](https://peps.python.org/pep-0639/ )
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158104
Approved by: https://github.com/rgommers , https://github.com/Skylion007 , https://github.com/atalman
2025-07-21 17:46:40 +00:00
PyTorch MergeBot
393377d215
Revert "[CI] update flake8 and mypy lint dependencies ( #158720 )"
...
This reverts commit a527e81693 .
Reverted https://github.com/pytorch/pytorch/pull/158720 on behalf of https://github.com/malfet due to This broke lint, see 8e57cdb746/1 ([comment](https://github.com/pytorch/pytorch/pull/158720#issuecomment-3096893256 ))
2025-07-21 13:58:50 +00:00
Xuehai Pan
a527e81693
[CI] update flake8 and mypy lint dependencies ( #158720 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158720
Approved by: https://github.com/Skylion007
2025-07-21 09:24:29 +00:00
PyTorch MergeBot
5e1232871b
Revert "[build] pin setuptools>=77 to enable PEP 639 ( #158104 )"
...
This reverts commit a4ec381302 .
Reverted https://github.com/pytorch/pytorch/pull/158104 on behalf of https://github.com/malfet due to This break inductor-perf-nighly-macos by failing to build torchvision, see https://github.com/pytorch/pytorch/issues/158728 ([comment](https://github.com/pytorch/pytorch/pull/158104#issuecomment-3095048940 ))
2025-07-21 02:24:11 +00:00
Yang Wang
f76f4abf3f
Track monitor ( #156907 )
...
Tracking gpu mem allocation, we were tracking the gpu bandwidth memory, the mem allocation is the one reflect wether the gpu is oom or not, upcoming ui fix.
UI fix: https://github.com/pytorch/test-infra/pull/6878/files
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156907
Approved by: https://github.com/huydhn
2025-07-18 22:54:13 +00:00
Xuehai Pan
a4ec381302
[build] pin setuptools>=77 to enable PEP 639 ( #158104 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158104
Approved by: https://github.com/rgommers , https://github.com/Skylion007 , https://github.com/atalman
2025-07-18 11:49:54 +00:00
cyy
c2beeadeb4
[Reland] Use 3.27 as the minimum CMake version ( #154783 )
...
Reland of #153153 , which was incidentally closed.
Update the minimum CMake version to 3.27 because of it provides more CUDA targets such as CUDA::nvperf_host so that it is possible to remove some of our forked CUDA modules. See https://github.com/pytorch/pytorch/pull/153783 .
It's also possible to facilitate future third-party updates such as FBGEMM (its current shipped version requires 3.21).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154783
Approved by: https://github.com/ezyang
2025-06-14 16:37:51 +00:00
Nikita Shulga
c1cbaca7fd
[CI] Move setuptools requirements from conda to pip ( #155697 )
...
Needed for `import z5` to work without warning, otherwise
`LoggingTests.test_logs_out` will fail
Pull Request resolved: https://github.com/pytorch/pytorch/pull/155697
Approved by: https://github.com/atalman
ghstack dependencies: #155476 , #155493 , #155601 , #155515
2025-06-11 18:03:18 +00:00
Nikita Shulga
3e131f7779
[CI] Move tlparse to requirements files ( #155601 )
...
Not sure why we had it that way to begin with
Pull Request resolved: https://github.com/pytorch/pytorch/pull/155601
Approved by: https://github.com/seemethere
ghstack dependencies: #155476 , #155493
2025-06-10 22:25:47 +00:00
dependabot[bot]
8f08f90b61
Bump pillow from 10.0.1 to 10.3.0 in /.github/requirements ( #154416 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 10.0.1 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/10.0.1...10.3.0 )
---
updated-dependencies:
- dependency-name: pillow
dependency-version: 10.3.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-04 09:37:13 -07:00
PyTorch MergeBot
bd10ea4e6c
Revert "Use 3.27 as the minimum CMake version ( #153153 )"
...
This reverts commit ad26ec6abe .
Reverted https://github.com/pytorch/pytorch/pull/153153 on behalf of https://github.com/cyyever due to It still breaks windows debug builds ([comment](https://github.com/pytorch/pytorch/pull/153153#issuecomment-2923997777 ))
2025-05-31 02:14:24 +00:00
cyy
ad26ec6abe
Use 3.27 as the minimum CMake version ( #153153 )
...
Update the minimum CMake version to 3.27 because of it provides more CUDA targets such as `CUDA::nvperf_host` so that it is possible to remove some of our forked CUDA modules. See https://github.com/pytorch/pytorch/pull/153783 .
It's also possible to facilitate future third-party updates such as FBGEMM (its current shipped version requires 3.21).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/153153
Approved by: https://github.com/malfet
2025-05-31 01:54:35 +00:00
PyTorch MergeBot
108422ac26
Revert "Use 3.27 as the minimum CMake version ( #153153 )"
...
This reverts commit 78624679a8 .
Reverted https://github.com/pytorch/pytorch/pull/153153 on behalf of https://github.com/cyyever due to It still breaks windows debug builds ([comment](https://github.com/pytorch/pytorch/pull/153153#issuecomment-2923785799 ))
2025-05-31 00:28:03 +00:00
cyy
78624679a8
Use 3.27 as the minimum CMake version ( #153153 )
...
Update the minimum CMake version to 3.27 because of it provides more CUDA targets such as `CUDA::nvperf_host` so that it is possible to remove some of our forked CUDA modules. See https://github.com/pytorch/pytorch/pull/153783 .
It's also possible to facilitate future third-party updates such as FBGEMM (its current shipped version requires 3.21).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/153153
Approved by: https://github.com/malfet
2025-05-31 00:01:52 +00:00
PyTorch MergeBot
7e8532077f
Revert "Use 3.27 as the minimum CMake version ( #153153 )"
...
This reverts commit 1ece53b157 .
Reverted https://github.com/pytorch/pytorch/pull/153153 on behalf of https://github.com/cyyever due to It still breaks windows debug builds ([comment](https://github.com/pytorch/pytorch/pull/153153#issuecomment-2922369830 ))
2025-05-30 13:16:33 +00:00
cyy
1ece53b157
Use 3.27 as the minimum CMake version ( #153153 )
...
Update the minimum CMake version to 3.27 because of it provides more CUDA targets such as `CUDA::nvperf_host` so that it is possible to remove some of our forked CUDA modules. See https://github.com/pytorch/pytorch/pull/153783 .
It's also possible to facilitate future third-party updates such as FBGEMM (its current shipped version requires 3.21).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/153153
Approved by: https://github.com/malfet
2025-05-30 11:25:30 +00:00
PyTorch MergeBot
53b0f6f543
Revert "Use 3.27 as the minimum CMake version ( #153153 )"
...
This reverts commit 4613081b72 .
Reverted https://github.com/pytorch/pytorch/pull/153153 on behalf of https://github.com/malfet due to It broke windows debug builds, see ef1d45b12d/1 ([comment](https://github.com/pytorch/pytorch/pull/153153#issuecomment-2919897160 ))
2025-05-29 16:14:28 +00:00
cyy
4613081b72
Use 3.27 as the minimum CMake version ( #153153 )
...
Update the minimum CMake version to 3.27 because of it provides more CUDA targets such as `CUDA::nvperf_host` so that it is possible to remove some of our forked CUDA modules. See https://github.com/pytorch/pytorch/pull/153783 .
It's also possible to facilitate future third-party updates such as FBGEMM (its current shipped version requires 3.21).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/153153
Approved by: https://github.com/malfet
2025-05-29 00:52:44 +00:00
Nikita Shulga
d88699308f
[CI][MacOS] Move more dependencies to pypi ( #154309 )
...
Hopefully last step before all Mac build/tests could be switched away from conda
- Update cmake version from 3.22 to 3.25 as 3.22 from pipy seems to be unusable with python-3.12
- Add `--plat-name macosx_11_0_arm64` to setup.py command
- Remove `codesign` for cmake workaround (that was probably never really necessary
- Install `libpng` and `jpeg-turbo` when building torchbench and build torchaudio without OpenMP (to be fixed)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154309
Approved by: https://github.com/Skylion007 , https://github.com/cyyever
2025-05-27 13:49:40 +00:00
Nikita Shulga
31ae07b5e7
[CI] Do not install libuv on MacOS ( #154307 )
...
It's tensorpipe submodule and is build from source
Same for `dataclasses` as it's needed only for python-3.6
And get rid of `nidia-ml-py`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154307
Approved by: https://github.com/cyyever , https://github.com/Skylion007
ghstack dependencies: #154304
2025-05-25 15:30:38 +00:00
Nikita Shulga
6968386385
[BE] Sort requirements files alphabetically ( #154304 )
...
Using `sort` tool
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154304
Approved by: https://github.com/cyyever , https://github.com/Skylion007
2025-05-25 15:30:38 +00:00
Nikita Shulga
c113cf5a8f
[BE] Remove unused conda-env-Linux-X64 ( #154303 )
...
According to https://github.com/search?type=code&q=conda-env-++repo%3Apytorch%2Fpytorch it's not referenced anywhere and has been replaced with `conda-env-ci` a while ago
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154303
Approved by: https://github.com/cyyever , https://github.com/Skylion007
2025-05-25 14:24:28 +00:00
Justin Chu
10c51b11ff
Bump protobuf version and refactor tensorboard tests ( #154244 )
...
In preparation for https://github.com/pytorch/pytorch/pull/153746 , I am bumping protobuf to 5.29.4 and fixing the tensorboard tests first.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154244
Approved by: https://github.com/malfet , https://github.com/cyyever
2025-05-25 00:50:07 +00:00
Nikita Shulga
0e4f1b8a06
[CI] Update MacOS conda requirmenets ( #154270 )
...
Pick package versions which are compatible with both 3.9 and 3.12
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154270
Approved by: https://github.com/clee2000 , https://github.com/atalman
ghstack dependencies: #154237 , #154268 , #154271 , #154269
2025-05-23 21:44:50 +00:00
Nikita Shulga
5db1503846
[CI] Update MacOS numba and scipy versions ( #154269 )
...
Pick versions that supported by both 3.9 and 3.12
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154269
Approved by: https://github.com/clee2000 , https://github.com/atalman
ghstack dependencies: #154237 , #154268 , #154271
2025-05-23 21:44:49 +00:00
Nikita Shulga
dec6a47996
[BE] Delete unused pip-requirements-iOS.txt ( #154271 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154271
Approved by: https://github.com/clee2000
ghstack dependencies: #154237 , #154268
2025-05-23 20:08:19 +00:00
Nikita Shulga
bcb2125f0a
[BE][CI] Update expecttest version to 0.3.0 ( #154237 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/154237
Approved by: https://github.com/Skylion007 , https://github.com/albanD , https://github.com/atalman
2025-05-23 17:27:41 +00:00
Anita Katahoire
996c4d803d
Removing conda references from PyTorch Docs ( #152702 )
...
Addresses #148339
Pull Request resolved: https://github.com/pytorch/pytorch/pull/152702
Approved by: https://github.com/svekars , https://github.com/albanD , https://github.com/atalman
2025-05-20 20:33:28 +00:00
Nikita Shulga
2fcbb903cb
[BE][EZ] Delete unsued conda-env-IOS.txt ( #153849 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/153849
Approved by: https://github.com/janeyx99 , https://github.com/seemethere , https://github.com/Skylion007 , https://github.com/ZainRizvi
2025-05-19 20:06:38 +00:00
FFFrog
b10ba0a46c
Unify all sympy versions to avoid conflicts within PyTorch ( #147197 )
...
As the title stated.
There are some tiny diffrences between 1.13.1 and 1.13.3:
1.13.1:
2e489cf4b1/sympy/core/numbers.py (L1591)
1.13.3:
b4ce69ad5d/sympy/core/numbers.py (L1591)
**Previous PR:**
https://github.com/pytorch/pytorch/pull/143908
**ISSUE Related:**
https://github.com/pytorch/pytorch/issues/147144
Pull Request resolved: https://github.com/pytorch/pytorch/pull/147197
Approved by: https://github.com/malfet
2025-02-18 10:51:43 +00:00
Edward Z. Yang
0b96413dbf
Upgrade expecttest to 0.3.0 ( #142869 )
...
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/142869
Approved by: https://github.com/albanD , https://github.com/malfet
2024-12-11 19:04:16 +00:00
Joel Schlosser
4c7688ca06
Add pytest support for unittest.subTests to CI env ( #142238 )
...
Fixes #142157
Pull Request resolved: https://github.com/pytorch/pytorch/pull/142238
Approved by: https://github.com/malfet , https://github.com/huydhn
ghstack dependencies: #142243
2024-12-09 21:48:20 +00:00
Edward Z. Yang
ce77409647
Upgrade to fbscribelogger 0.1.7 ( #138634 )
...
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/138634
Approved by: https://github.com/huydhn
2024-11-16 14:33:34 +00:00
Catherine Lee
0db21a6b23
Remove most rockset references ( #139922 )
...
Remove most references to rockset:
* replace comments and docs with a generic "backend database"
* Delete `upload_to_rockset`, so we no longer need to install the package.
* Do not upload perf stats to rockset as well (we should be completely on DynamoDB now right @huydhn?)
According to VSCode, it went from 41 -> 7 instances of "rockset" in the repo
Pull Request resolved: https://github.com/pytorch/pytorch/pull/139922
Approved by: https://github.com/huydhn , https://github.com/ZainRizvi
2024-11-12 21:17:43 +00:00
Nikita Shulga
3342b533bb
Update setuptool to 72.1.0 ( #139144 )
...
As older versions are affected by CVE-2024-6345
Also, update `typing_extensions` to 4.11 to support `TypeIs`, otherwise some of the workflows report following error (but succeed somehow), see [this](https://github.com/pytorch/pytorch/actions/runs/11566785190/job/32196549021 ):
```
2024-10-29T03:55:01.3601410Z + /Users/ec2-user/runner/_work/_temp/miniconda/bin/conda run -p /Users/ec2-user/runner/_work/_temp/conda_environment_11566785190 --no-capture-output python3 -c 'import torch'
2024-10-29T03:55:01.3602260Z ~/runner/_work/_temp ~/runner/_work/pytorch/pytorch
2024-10-29T03:55:01.8043630Z Traceback (most recent call last):
2024-10-29T03:55:01.8044540Z File "<string>", line 1, in <module>
2024-10-29T03:55:01.8045670Z File "/Users/ec2-user/runner/_work/_temp/conda_environment_11566785190/lib/python3.9/site-packages/torch/__init__.py", line 37, in <module>
2024-10-29T03:55:01.8046690Z from typing_extensions import ParamSpec as _ParamSpec, TypeIs as _TypeIs
2024-10-29T03:55:01.8048010Z ImportError: cannot import name 'TypeIs' from 'typing_extensions' (/Users/ec2-user/runner/_work/_temp/conda_environment_11566785190/lib/python3.9/site-packages/typing_extensions.py)
```
Also delete macOS-X86 as we no longer build those
Pull Request resolved: https://github.com/pytorch/pytorch/pull/139144
Approved by: https://github.com/Skylion007 , https://github.com/kit1980 , https://github.com/huydhn
2024-10-29 04:24:51 +00:00
Catherine Lee
cc93c1e5e4
Upload artifacts during test run ( #125799 )
...
Zip and upload artifacts while run_test is running
Upgrade boto3 because I get errors about not having `botocore.vendored.six.move` if I don't
Pull Request resolved: https://github.com/pytorch/pytorch/pull/125799
Approved by: https://github.com/huydhn
2024-10-22 16:48:57 +00:00
PyTorch MergeBot
d1027c2be6
Revert "Update sympy version constraint to 1.13.3 ( #138338 )"
...
This reverts commit d8279ad9d1 .
Reverted https://github.com/pytorch/pytorch/pull/138338 on behalf of https://github.com/huydhn due to Sorry for reverting your change, but I think a bunch of inductor tests and test_dynamic_shapes are failing in trunk after this lands d8279ad9d1 ([comment](https://github.com/pytorch/pytorch/pull/138338#issuecomment-2424487225 ))
2024-10-20 03:19:02 +00:00
Jeongseok (JS) Lee
d8279ad9d1
Update sympy version constraint to 1.13.3 ( #138338 )
...
`simpy` was pinned to version 1.13.1 due to test failures with version 1.13.2 on Windows and mac, as reported in https://github.com/pytorch/pytorch/pull/133235 . Now that a newer version, 1.13.3, has been released, this PR aims to verify if the test failure has been resolved and also allow building with newer versions for packaging purposes (e.g., https://github.com/conda-forge/pytorch-cpu-feedstock/pull/277#discussion_r1806721862 ).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/138338
Approved by: https://github.com/Skylion007 , https://github.com/malfet
Co-authored-by: Nikita Shulga <2453524+malfet@users.noreply.github.com>
2024-10-20 00:20:02 +00:00
Xuehai Pan
59cdd8ddf1
Bump optree version to 0.13.0 to enable Python 3.13 and Python 3.13t support ( #137396 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/137396
Approved by: https://github.com/albanD
2024-10-08 06:49:04 +00:00