Package: pytorch / 2.6.0+dfsg-9
Metadata
Package | Version | Patches format |
---|---|---|
pytorch | 2.6.0+dfsg-9 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0001 143299.patch | (download) |
test/inductor/test_flex_attention.py |
5 5 + 0 - 0 ! |
[patch 1/5] update [ghstack-poisoned] |
0002 cmake 4.patch | (download) |
aten/src/ATen/native/quantized/cpu/qnnpack/CMakeLists.txt |
11 11 + 0 - 0 ! |
[patch] [cherry-pick] make pytorch buildable with cmake-4 (#150460) * [Cmake] Make PyTorch buildable by CMake-4.x (#150203) By turning on compatibility mode for protobuf, nnpack, PSimd and FP16, ittapi, TensorPipe and Gloo Update CMake requirements Revert 0ece461ccafe5649d2d0f058ff5477765fd56499 and b0901d62ae2c2e909f91401eacebf3731df20cbe to test that it actually works TODO: - Update/get rid of those libraries Fixes https://github.com/pytorch/pytorch/issues/150149 Pull Request resolved: https://github.com/pytorch/pytorch/pull/150203 Approved by: https://github.com/clee2000 (cherry picked from commit 493c7fa66f82cf781ee0f9d0cc9e305688f0a286) * Make PyTorch buildable by CMake-4.x on s390x (#150294) This is a continuation of https://github.com/pytorch/pytorch/pull/150203 that fixes nightly build on s390x. Pull Request resolved: https://github.com/pytorch/pytorch/pull/150294 Approved by: https://github.com/malfet (cherry picked from commit ab342d3793472c65aaa0b007ca13a98fc9206dc5) |
0003 gloo shared store.patch | (download) |
torch/csrc/distributed/c10d/ProcessGroupGloo.cpp |
19 17 + 2 - 0 ! |
[patch] gloo: use shared stores (#150230) Summary: X-link: https://github.com/facebookincubator/gloo/pull/423 This modifies `connectFullMesh` to take in a shared_ptr<IStore> instead of a reference. This is an API breaking change but fairly easy to work around. To have backwards compatibility in PyTorch during the commit phase we add a new ifdef `GLOO_SHARED_STORE` which can provide backwards compatibility until we update the pinned Gloo version in pytorch OSS repo. This also adds a new `wait_get` method to `IStore` which will allow us to do a more efficient operation in PyTorch TCPStore. PyTorch's `Store::get` automatically waits so we want to make sure we can avoid waiting twice to reduce network traffic. This change will land simultaneously in PyTorch and Gloo repos. Test Plan: ``` buck2 test //gloo/... //caffe2/caffe2/contrib/gloo: ``` |
1020 dirtyhack.patch | (download) |
CMakeLists.txt |
13 8 + 5 - 0 ! |
the elegant patching work is based on the master branch https://github.com/pytorch/pytorch/issues/14699 And we will be able to use that solution in the next upstream release. I don't want to rebase my patches back to this version, so let's go with a fast, yet dirty hack. |
1030 use system dnnl.patch | (download) |
cmake/Modules/FindMKLDNN.cmake |
15 7 + 8 - 0 ! |
enable dnnl/ideep integration |
1040 cmake strip 3rdparty.patch | (download) |
caffe2/CMakeLists.txt |
10 0 + 10 - 0 ! |
patch cmake to strip third-party directory includes/checks. |
1050 use system httplib.patch | (download) |
caffe2/CMakeLists.txt |
1 1 + 0 - 0 ! |
use system cpp-httplib instead. |
1060 remove pkg resources.patch | (download) |
test/run_test.py |
7 4 + 3 - 0 ! |
remove use of deprecated pkg_resources module. Replace with importlib.metadata from stdlib |
2000 version.patch | (download) |
tools/generate_torch_version.py |
12 1 + 11 - 0 ! |
make the "torch.__version__" and wheel version correct. the upstream use env vars instead. debian specific. Never forward this. |
2050 pytorch_glog_update.patch | (download) |
c10/util/Logging.cpp |
12 1 + 11 - 0 ! |
move isgooglelogginginitialized() to public api It was an internal function and project used hacks to reach it. Now it's part of the public API. |
2060 fix wrong shebang.patch | (download) |
torch/distributed/elastic/__init__.py |
2 1 + 1 - 0 ! |
fix wrong shebang |
2080 fix aten config cmake path.patch | (download) |
aten/src/ATen/ATenConfig.cmake.in |
2 1 + 1 - 0 ! |
avoid including the build path in the cmake configuration file Fixes: #1031687 |
2100 remove opentelemetry.patch | (download) |
cmake/Dependencies.cmake |
10 0 + 10 - 0 ! |
get rid of opentelemetry dependency which is not yet in debian |
2101 fix ftbfs ld sleef.patch | (download) |
caffe2/CMakeLists.txt |
2 1 + 1 - 0 ! |
--- |
2200 remove astunparse dep.patch | (download) |
benchmarks/dynamo/Makefile |
2 1 + 1 - 0 ! |
remove dependency on astunparse It has been replaced with ast.unparse since Python 3.9. |
2210 disable fno math errno on arm64 to workaround gcc14 bug.patch | (download) |
CMakeLists.txt |
2 2 + 0 - 0 ! |
disable -fno-math-errno on arm64 to workaroun gcc 14 bug (#1094828) |
2220 disable sve on arm64.patch | (download) |
cmake/Modules/FindARM.cmake |
4 3 + 1 - 0 ! |
disable use of sve on arm64 |
2300 torch cuda no use nvtx3.patch | (download) |
caffe2/CMakeLists.txt |
6 1 + 5 - 0 ! |
let it fallback to use the old nvtx3 headers. grep the code with TORCH_CUDA_USE_NVTX3 can you will find the simple fallback logic. The new header needs new nvtx packages. The old one is already in nvidia-cuda-dev. Forward: no need. |
2310 disable non portable flags.patch | (download) |
torch/_inductor/cpp_builder.py |
7 0 + 7 - 0 ! |
disable non-portable flags |