Details about package pytorch
| Name: | pytorch (PTS) |
|---|---|
| Uploader: | Talha Can Havadar <havadartalha@gmail.com> (Debian QA page) |
| Description: | python3-torch - Tensors and Dynamic neural networks in Python (Python Interface) libtorch-dev - Tensors and Dynamic neural networks in Python (Development Files) libtorch2.12 - Tensors and Dynamic neural networks in Python (Shared Objects) libtorch-test - Tensors and Dynamic neural networks in Python (Test Binaries) |
Package uploads
Upload #1
Information
| Version: | 2.12.1+dfsg-2 |
|---|---|
| Uploaded: | 2026-10-08 10:04 |
| Source package: | pytorch_2.12.1+dfsg-2.dsc |
| Distribution: | unstable |
| Section: | science |
| Priority: | optional |
| Homepage: | https://pytorch.org/ |
| Vcs-Git: | https://salsa.debian.org/deeplearning-team/pytorch.git |
| Vcs-Browser: | https://salsa.debian.org/deeplearning-team/pytorch |
| Closes bugs: | #1150269 |
Changelog
pytorch (2.12.1+dfsg-2) unstable; urgency=medium
.
[ Aron Xu ]
* d/copyright: exclude __pycache__/*.pyc from repacked tarball
.
[ Mo Zhou ]
* autopkgtest: remove the train-mnist.sh test case.
* Cleanup patchset after merging the ROCm fix.
* trivial: quilt patch refresh
* trivial: cleanup more mess
* Patch embedded kineto to disable ROCPROF and ROCTRACER.
* [ROCm] Patch cmake to prevent aotriton download.
* [ROCm] Require libamdhip64-dev (>= 7.1.0~).
* [ROCm] Require all rocm B-D to be >= 7.1.0, and add rocm-device-libs-22.
* [ROCm] Build depend on composable kernel.
* [ROCm] minor: use llvm-21 device libs.
* [ROCm] add amdgcn-tools-21 to dependencies.
* Get rid of tensorpipe from build dependencies.
* Get rid of tensorpipe for cuda/rocm variants as well.
* Reword cuda/rocm build scripts.
* [CUDA] Attempt to fix CUDA build but we still miss some dependencies.
.
[ Talha Can Havadar ]
* d/{rules, control.rocm}: bump to llvm-22 as whole rocm stack >=7.2 relies
on llvm-22
* d/kineto: patch kineto to not raise severity of Wno-dangling-reference
which is unknown for clang and in rocm kineto builds with -Werror
causing it to FTBFS
* d/control.rocm: restrict libfmt-dev to >= 11.1.1 as older versions fail
with clang-22
* d/p/1070-formatting-fmt11-ostreambuf-iterator.patch: fix format_decimal
FTBFS (Closes: #1150269)
* d/rules: disabling flash/mem-eff attention for rocm as it requires aotriton
And aotriton is not available in debian and not yet vendored in pytorch
package
* d/control.rocm: add missing amd-smi dependency
* d/control.rocm: bump ROCm stack restriction to 7.2
* d/rules: fix ABI incompatiblity hipcc passes clang-abi-compat=17
* d/p/2340-c10d-tests-link-gloo-explicitly.patch: fix linking issue on
ProcessGroupGlooTest
* d/rules: filter out RDNA3 (gfx1100, gfx1101, gfx1102) from target list.
LLVM 22, clang aborts with 'fatal error: error in backend: Unsupported
instruction : <MCInst 4399 ...>' while compiling Loss.hip. Dropping
gfx110x here until an upstream LLVM fix lands.
* d/control: bump llvm-22 to fix libfmt v11 compatibility issues
.
[ Alexandre Detiste ]
* reduce diff between debian/control.*
QA information
-
–
Package uses debhelper-compatDebhelper compatibility level 13
-
–
Newer upstream version available
Local: 2.12.1+dfsg Upstream: 2.14.1 Url: https://github.com/pytorch/pytorch/releases/download/v2.14.1/pytorch-v2.14.1.tar.gz -
–
Package is not native
Format: 3.0 (quilt) -
–
The uploader is not in the package's "Maintainer" or "Uploaders" fields
- User email
- havadartalha@gmail.com
- "Maintainer" email
- debian-ai@lists.debian.org
- "Uploaders" emails
-
–
Package has lintian errorspytorch source
-
E
source-ships-excluded-file
- tools/__pycache__/__init__.cpython-312.pyc [debian/copyright:3]
- tools/__pycache__/generate_torch_version.cpython-312.pyc [debian/copyright:3]
-
W
missing-debian-watch-file-standard
- [debian/watch]
-
W
no-nmu-in-changelog
- [debian/changelog:1]
-
W
source-nmu-has-incorrect-version-number
- 2.12.1+dfsg-2 [debian/changelog:1]
-
I
invalid-dep3-format-patch-no-origin
- [debian/patches/2080-fix-aten-config-cmake-path.patch]
- [debian/patches/2090-drop-six-from-pyproject.patch]
-
I
license-file-listed-in-debian-copyright
- LICENSE [debian/copyright]
- test/dynamo/cpython/3_13/LICENSE [debian/copyright]
-
I
out-of-date-standards-version
- 4.7.3 (released 2025-12-23) (current is 4.7.4)
-
I
patch-not-forwarded-upstream
- [debian/patches/1020-dirtyhack.patch]
-
I
quilt-patch-missing-description
- [debian/patches/rocm-disable-aotriton-download.patch]
-
I
uses-deprecated-python-stdlib
- distutils (deprecated in Python 3.10, removed in Python 3.12) [test/cpp_extensions/libtorch_agn_2_10_extension/setup.py:1]
- distutils (deprecated in Python 3.10, removed in Python 3.12) [test/cpp_extensions/libtorch_agn_2_11_extension/setup.py:1]
- distutils (deprecated in Python 3.10, removed in Python 3.12) [test/cpp_extensions/libtorch_agn_2_12_extension/setup.py:1]
- distutils (deprecated in Python 3.10, removed in Python 3.12) [test/cpp_extensions/libtorch_agn_2_9_extension/setup.py:1]
- distutils (deprecated in Python 3.10, removed in Python 3.12) [test/cpp_extensions/open_registration_extension/torch_openreg/setup.py:8]
- distutils (deprecated in Python 3.10, removed in Python 3.12) [test/cpp_extensions/python_agnostic_extension/setup.py:6]
- distutils (deprecated in Python 3.10, removed in Python 3.12) [tools/setup_helpers/cmake.py:33]
-
P
source-contains-prebuilt-java-object
- [android/gradle/wrapper/gradle-wrapper.jar]
-
P
trailing-whitespace
- [debian/rules:232]
-
X
update-debian-copyright
- 2024 vs 2026 [debian/copyright:110]
-
X
very-long-line-length-in-source-file
- 1002 > 512 [docs/source/user_guide/torch_compiler/torch.compiler_fake_tensor.md:19]
- 10055 > 512 [torch/utils/model_dump/preact.mjs:2]
- 1027 > 512 [test/jit/fixtures/test_versioned_div_tensor_example_v7.ptl:5]
- 1048 > 512 [RELEASE.md:124]
- 1085 > 512 [test/quantization/serialized/TestSerialization.test_linear_relu_package_quantization_transforms.package.pt:1]
- 1129 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_nobias_graph_v2.scripted.pt:26]
- 1149 > 512 [test/cpp/lite_interpreter_runtime/test_backend_for_profiling.ptl:16]
- 1155 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_graph_v2.traced.pt:29]
- 1162 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_graph_v3.traced.pt:27]
- 1170 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_nobias_graph_v3.traced.pt:23]
- 1170 > 512 [test/quantization/serialized/TestSerialization.test_conv3d_relu.scripted.pt:25]
- 1173 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_graph_v2.scripted.pt:29]
- 1186 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_graph.scripted.pt:35]
- 1186 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_nobias_graph_v3.scripted.pt:20]
- 1195 > 512 [test/quantization/serialized/TestSerialization.test_conv3d.scripted.pt:22]
- 1204 > 512 [test/jit/fixtures/_test_serialization_subcmul_v2.pt:5]
- 1207 > 512 [torch/utils/model_dump/htm.mjs:2]
- 1219 > 512 [test/jit/fixtures/test_versioned_div_scalar_reciprocal_float_v3.pt:11]
- 1225 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_nobias_graph_v2.traced.pt:26]
- 1227 > 512 [torch/csrc/jit/OVERVIEW.md:436]
- 1250 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_nobias.traced.pt:22]
- 1266 > 512 [third_party/BUCK.oss:30]
- 1295 > 512 [test/cpp/lite_interpreter_runtime/delegate_test.ptl:12]
- 1378 > 512 [test/jit/fixtures/test_versioned_random_out_v10.ptl:3]
- 1403 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_graph.traced.pt:1]
- 1404 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_relu.scripted.pt:17]
- 1529 > 512 [test/quantization/serialized/TestSerialization.test_linear_dynamic_qint8.scripted.pt:38]
- 1547 > 512 [test/quantization/serialized/TestSerialization.test_linear_dynamic_float16.scripted.pt:33]
- 1652 > 512 [tools/__pycache__/generate_torch_version.cpython-312.pyc:5]
- 1670 > 512 [test/quantization/serialized/TestSerialization.test_linear_relu.scripted.pt:22]
- 1726 > 512 [test/quantization/serialized/TestSerialization.test_linear_relu.traced.pt:31]
- 1746 > 512 [test/quantization/serialized/TestSerialization.test_lstm.scripted.pt:72]
- 1801 > 512 [aten/src/ATen/Dispatch_v2.h:174]
- 1831 > 512 [test/quantization/serialized/TestSerialization.test_lstm.traced.pt:39]
- 1856 > 512 [test/cpp/lite_interpreter_runtime/delegated_submodule_with_debug_info.ptl:21]
- 1857 > 512 [test/quantization/serialized/TestSerialization.test_linear_dynamic_qint8.traced.pt:26]
- 1858 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_nobias_graph.traced.pt:31]
- 1875 > 512 [test/quantization/serialized/TestSerialization.test_linear_dynamic_float16.traced.pt:22]
- 1888 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_nobias_graph.scripted.pt:32]
- 2231 > 512 [test/quantization/serialized/TestSerialization.test_lstm.state_dict.pt:17]
- 2338 > 512 [test/package/package_bc/test_fx_module.pt:82]
- 2367 > 512 [test/quantization/serialized/TestSerialization.test_linear.traced.pt:23]
- 2413 > 512 [test/package/package_bc/test_nn_module.pt:711]
- 3061 > 512 [test/package/package_e/test_nn_module.pt:1]
- 3096 > 512 [test/quantization/serialized/TestSerialization.test_default_qat_qconfig.state_dict.pt:12]
- 4979 > 512 [test/expect/TestTensorBoard.test_video.expect:7]
- 517 > 512 [test/dynamo/test_fx_annotate.py:233]
- 522 > 512 [test/export/test_export.py:1114]
- 5249 > 512 [benchmarks/dynamo/microbenchmarks/operator_inp_logs/torchbench_train/fambench_dlrm_training.txt:391]
- 528 > 512 [test/cpp/lite_interpreter_runtime/sequence.ptl:12]
- 541 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_relu.traced.pt:29]
- 545 > 512 [functorch/dim/README.md:747]
- 545 > 512 [test/inductor/test_triton_kernels.py:2094]
- 548 > 512 [docs/cpp/source/Doxyfile:123]
- 548 > 512 [docs/source/notes/extending.rst:961]
- 551 > 512 [docs/source/distributed.checkpoint.md:195]
- 553 > 512 [test/functorch/test_leaf_function.py:1375]
- 5575 > 512 [test/package/package_bc/test_torchscript_module.pt:1070]
- 568 > 512 [torch/csrc/profiler/standalone/execution_trace_observer.cpp:286]
- 568 > 512 [torch/headeronly/README.md:7]
- 574 > 512 [aten/src/ATen/test/vulkan_api_test.cpp:7440]
- 574 > 512 [docs/source/accelerator/index.md:3]
- 578 > 512 [test/cpp/jit/script_module_v5.ptl:21]
- 579 > 512 [torch/distributed/algorithms/ddp_comm_hooks/powerSGD_hook.py:137]
- 591 > 512 [docs/source/notes/out.rst:14]
- 598 > 512 [torch/csrc/jit/codegen/onednn/README.md:2]
- 601 > 512 [aten/src/ATen/native/nested/README.md:52]
- 603 > 512 [aten/src/ATen/native/cuda/IGammaKernel.cu:226]
- 605 > 512 [torch/csrc/profiler/README.md:89]
- 606 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_scalar_reciprocal_float_v2.ptl:34]
- 610 > 512 [torch/ao/quantization/fx/README.md:50]
- 614 > 512 [docs/source/notes/numerical_accuracy.rst:115]
- 615 > 512 [torch/ao/quantization/backend_config/README.md:3]
- 624 > 512 [test/distributed/pipelining/artifacts/zb1p_2rank_2stagep_comms.csv:2]
- 625 > 512 [test/quantization/serialized/TestSerialization.test_lstm.expected.pt:10]
- 626 > 512 [docs/source/notes/libtorch_stable_abi.md:5]
- 635 > 512 [test/cpp/lite_interpreter_runtime/light_model.ptl:12]
- 635 > 512 [torch/csrc/jit/tensorexpr/ConditionalsInTE.md:9]
- 636 > 512 [test/jit/fixtures/test_versioned_div_scalar_inplace_int_v3.pt:15]
- 637 > 512 [docs/source/accelerator/operators.md:292]
- 640 > 512 [torch/csrc/inductor/aoti_torch/generated/c_shim_cpu.h:41]
- 640 > 512 [torch/csrc/inductor/aoti_torch/generated/c_shim_mps.h:31]
- 640 > 512 [torch/csrc/inductor/aoti_torch/generated/c_shim_xpu.h:22]
- 642 > 512 [third_party/mslk/test/attention/fmha/test_tree_attention.py:53]
- 646 > 512 [benchmarks/dynamo/microbenchmarks/operator_inp_logs/torchbench_train/densenet121_training.txt:169]
- 648 > 512 [docs/source/user_guide/torch_compiler/torch.compiler_cudagraph_trees.md:29]
- 651 > 512 [test/cpp/jit/script_module_v4.ptl:21]
- 652 > 512 [docs/source/onnx_export.md:180]
- 660 > 512 [test/jit/fixtures/test_versioned_random_func_v10.ptl:10]
- 668 > 512 [torch/csrc/utils/generated_serialization_types.h:1248]
- 669 > 512 [test/dynamo/test_regional_inductor.py:1006]
- 671 > 512 [benchmarks/dynamo/microbenchmarks/operator_inp_logs/timm_train/densenet121_training.txt:174]
- 673 > 512 [third_party/miniz-3.0.2/readme.md:3]
- 681 > 512 [test/quantization/serialized/TestSerialization.test_per_channel_observer.state_dict.pt:8]
- 681 > 512 [test/quantization/serialized/TestSerialization.test_per_tensor_observer.state_dict.pt:8]
- 682 > 512 [test/quantization/serialized/TestSerialization.test_linear.scripted.pt:27]
- 683 > 512 [torch/csrc/inductor/aoti_torch/generated/c_shim_cuda.h:22]
- 688 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_graph_v3.scripted.pt:29]
- 691 > 512 [functorch/writing_batching_rules.md:38]
- 692 > 512 [docs/source/user_guide/torch_compiler/compile/dynamic_shapes_troubleshooting_guardon_errors.md:12]
- 695 > 512 [test/quantization/serialized/TestSerialization.test_conv3d.input.pt:12]
- 695 > 512 [test/quantization/serialized/TestSerialization.test_conv3d_relu.input.pt:12]
- 702 > 512 [test/jit/fixtures/test_versioned_div_scalar_inplace_float_v3.pt:15]
- 703 > 512 [tools/autograd/derivatives.yaml:1290]
- 705 > 512 [torch/csrc/jit/operator_upgraders/README.md:69]
- 716 > 512 [test/quantization/serialized/TestSerialization.test_conv3d_relu.traced.pt:2]
- 720 > 512 [test/jit/fixtures/test_versioned_full_integer_value_v4.pt:8]
- 722 > 512 [test/cpp/jit/script_module_v6.ptl:22]
- 727 > 512 [test/jit/fixtures/test_versioned_div_tensor_out_v3.pt:14]
- 732 > 512 [test/jit/fixtures/test_versioned_div_scalar_scalar_v3.pt:9]
- 743 > 512 [torch/distributed/tensor/README.md:28]
- 755 > 512 [test/jit/fixtures/test_versioned_div_scalar_int_v3.pt:13]
- 757 > 512 [test/jit/fixtures/test_versioned_gelu_out_v9.ptl:9]
- 757 > 512 [test/jit/fixtures/test_versioned_linspace_v7.ptl:10]
- 757 > 512 [test/jit/fixtures/test_versioned_logspace_v8.ptl:7]
- 763 > 512 [test/jit/fixtures/test_versioned_div_scalar_float_v3.pt:13]
- 769 > 512 [torch/cuda/streams.py:177]
- 772 > 512 [torch/fx/README.md:89]
- 777 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_tensor_v2.ptl:23]
- 777 > 512 [test/jit/fixtures/test_versioned_gelu_v9.ptl:7]
- 780 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_scalar_int_v2.ptl:15]
- 780 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_tensor_out_v2.ptl:15]
- 785 > 512 [test/jit/fixtures/test_versioned_linspace_out_v7.ptl:9]
- 785 > 512 [test/jit/fixtures/test_versioned_logspace_out_v8.ptl:10]
- 792 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_scalar_float_v2.ptl:15]
- 795 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_scalar_scalar_v2.ptl:28]
- 804 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_tensor_inplace_v2.ptl:16]
- 809 > 512 [test/jit/fixtures/test_versioned_div_tensor_inplace_v3.pt:14]
- 828 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_scalar_inplace_int_v2.ptl:16]
- 840 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_scalar_inplace_float_v2.ptl:16]
- 840 > 512 [test/quantization/serialized/TestSerialization.test_conv3d.traced.pt:30]
- 844 > 512 [test/quantization/serialized/TestSerialization.test_conv2d_nobias.scripted.pt:27]
- 846 > 512 [test/cpp/jit/upgrader_models/test_versioned_div_scalar_reciprocal_int_v2.ptl:33]
- 847 > 512 [test/jit/fixtures/test_versioned_full_preserved_v4.pt:9]
- 849 > 512 [test/inductor/test_flex_attention.py:4856]
- 863 > 512 [test/cpp/lite_interpreter_runtime/to_be_profiled_module.ptl:1]
- 864 > 512 [test/cpp/jit/test_interpreter_async.pt:1]
- 867 > 512 [debian/kineto-b2103f78d13fde4937af010c0ef8e24313568bc5/libkineto/third_party/dynolog/README.md:278]
- 880 > 512 [debian/kineto-b2103f78d13fde4937af010c0ef8e24313568bc5/libkineto/README.md:60]
- 896 > 512 [test/quantization/serialized/TestSerialization.test_conv2d.traced.pt:21]
- 900 > 512 [.devcontainer/scripts/update_alternatives_clang.sh:31]
- 905 > 512 [test/jit/fixtures/test_versioned_div_scalar_reciprocal_int_v3.pt:13]
- 905 > 512 [torch/headeronly/core/Dispatch_v2.h:154]
- 914 > 512 [docs/source/user_guide/torch_compiler/compile/programming_model.error_on_graph_break.md:242]
- 958 > 512 [test/jit/fixtures/test_versioned_random_v10.ptl:6]
- 964 > 512 [third_party/miniz-3.0.2/ChangeLog.md:143]
- 976 > 512 [SECURITY.md:102]
- 986 > 512 [test/quantization/serialized/TestSerialization.test_conv2d.scripted.pt:28]
- 987 > 512 [README.md:598]
-
O
redundant-globbing-patterns
- (test/dynamo/cpython/3_13/* test/dynamo/cpython/3_13/LICENSE) for test/dynamo/cpython/3_13/LICENSE [debian/copyright:440]
-
E
source-ships-excluded-file
-
–
Package closes RC bug
-
src:pytorch:
- #1150269 (Serious): pytorch: FTBFS: error: no matching function for call to ‘format_decimal<char>(std::ostreambuf_iterator<char, std::char_traits<char> >&, unsigned int&, int)’
-
src:pytorch:
-
–
Package is already in Debian
- The package uploader is not currently maintaining pytorch in Debian
- Last upload was on the 2026-06-28
-
–
Upstream-Contact missing from d/copyright
Upstream Contact: None Licenses: PSF-2.0, Apache-2.0, BSD-style-Valgrind, 0BSD, Apache-2.0 or BSD-2-Clause, ZLIB, HPND, BSD-2-Clause, Expat, BSD-3-Clause and Expat, GPL-3.0, BSD-3-Clause, Expat and BSD-3-Clause, BSD-3-Clause and Apache-2.0, BSL-1.0, CC-BY-SA-4.0, BSD-2-Clause and BSD-3-Clause, GPL-3.0+
Comments
No comments