Package: pytorch / 2.6.0+dfsg-7

Metadata

Package Version Patches format
pytorch 2.6.0+dfsg-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 143299.patch | (download)

test/inductor/test_flex_attention.py | 5 5 + 0 - 0 !
torch/_inductor/kernel/flex_attention.py | 11 5 + 6 - 0 !
2 files changed, 10 insertions(+), 6 deletions(-)

 [patch 1/5] update

[ghstack-poisoned]

1020 dirtyhack.patch | (download)

CMakeLists.txt | 13 8 + 5 - 0 !
aten/src/ATen/native/quantized/cpu/qnnpack/CMakeLists.txt | 11 9 + 2 - 0 !
aten/src/ATen/native/quantized/cpu/qnnpack/deps/clog/CMakeLists.txt | 2 1 + 1 - 0 !
c10/cuda/CMakeLists.txt | 4 4 + 0 - 0 !
caffe2/CMakeLists.txt | 35 29 + 6 - 0 !
cmake/Dependencies.cmake | 45 23 + 22 - 0 !
test/cpp/c10d/CMakeLists.txt | 4 4 + 0 - 0 !
test/cpp/jit/CMakeLists.txt | 12 12 + 0 - 0 !
test/cpp/tensorexpr/CMakeLists.txt | 2 1 + 1 - 0 !
tools/setup_helpers/cmake.py | 2 1 + 1 - 0 !
torch/CMakeLists.txt | 14 12 + 2 - 0 !
11 files changed, 104 insertions(+), 40 deletions(-)

 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 !
cmake/public/mkldnn.cmake | 2 2 + 0 - 0 !
2 files changed, 9 insertions(+), 8 deletions(-)

 enable dnnl/ideep integration
1040 cmake strip 3rdparty.patch | (download)

caffe2/CMakeLists.txt | 10 0 + 10 - 0 !
1 file changed, 10 deletions(-)

 patch cmake to strip third-party directory includes/checks.
1050 use system httplib.patch | (download)

caffe2/CMakeLists.txt | 1 1 + 0 - 0 !
cmake/Dependencies.cmake | 5 3 + 2 - 0 !
2 files changed, 4 insertions(+), 2 deletions(-)

 use system cpp-httplib instead.
1060 remove pkg resources.patch | (download)

test/run_test.py | 7 4 + 3 - 0 !
1 file changed, 4 insertions(+), 3 deletions(-)

 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 !
version.txt | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 12 deletions(-)

 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 !
1 file changed, 1 insertion(+), 11 deletions(-)

 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 !
torch/distributed/elastic/events/__init__.py | 2 1 + 1 - 0 !
torch/distributed/elastic/metrics/__init__.py | 2 1 + 1 - 0 !
torch/distributed/launcher/__init__.py | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 fix wrong shebang
2080 fix aten config cmake path.patch | (download)

aten/src/ATen/ATenConfig.cmake.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 avoid including the build path in the cmake configuration file
Fixes: #1031687
2100 remove opentelemetry.patch | (download)

cmake/Dependencies.cmake | 10 0 + 10 - 0 !
torch/CMakeLists.txt | 1 0 + 1 - 0 !
2 files changed, 11 deletions(-)

 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 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
2200 remove astunparse dep.patch | (download)

benchmarks/dynamo/Makefile | 2 1 + 1 - 0 !
pyproject.toml | 1 0 + 1 - 0 !
requirements.txt | 1 0 + 1 - 0 !
torch/jit/frontend.py | 10 2 + 8 - 0 !
4 files changed, 3 insertions(+), 11 deletions(-)

 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 !
1 file changed, 2 insertions(+)

 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 !
1 file changed, 3 insertions(+), 1 deletion(-)

 disable use of sve on arm64
2300 torch cuda no use nvtx3.patch | (download)

caffe2/CMakeLists.txt | 6 1 + 5 - 0 !
cmake/public/cuda.cmake | 11 2 + 9 - 0 !
2 files changed, 3 insertions(+), 14 deletions(-)

 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 !
1 file changed, 7 deletions(-)

 disable non-portable flags