Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-torch for openSUSE:Factory checked in at 2026-09-16 17:43:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-torch (Old) and /work/SRC/openSUSE:Factory/.python-torch.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-torch" Wed Sep 16 17:43:32 2026 rev:13 rq:1378182 version:2.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-torch/python-torch.changes 2026-09-09 16:23:27.901818547 +0200 +++ /work/SRC/openSUSE:Factory/.python-torch.new.383539/python-torch.changes 2026-09-16 17:47:44.690554752 +0200 @@ -1,0 +2,17 @@ +Sat Sep 12 08:10:54 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 2.14.0 (NVGEMM CUTLASS kernels, torch.switch / + torch.while_loop in CUDA graphs, declarative dynamic shapes, + complex tensor support in torch.compile, nccl2 backend). +- Build moved to the scikit-build-core PEP 517 backend: add the + BuildRequires (setup.py is a shim now) and export + PYTORCH_BUILD_VERSION/NUMBER (tarball has no .git, would read + 2.14.0a0 and break the torchvision ==2.14.0 pairing). +- Pass -fno-lto via CMAKE_*_FLAGS (LTO ICEs gcc on SVE code) and + drop the CMAKE_INSTALL_PREFIX export (it pinned installs to + /usr/include). +- Ship the new torchfrtrace script like torchrun; keep + xnnpack-aarch64-fix.patch (neonsme2 stubs still broken without + XNN_ENABLE_KLEIDIAI); no Requires or License delta. + +------------------------------------------------------------------- Old: ---- pytorch-v2.13.0.tar.gz New: ---- pytorch-v2.14.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-torch.spec ++++++ --- /var/tmp/diff_new_pack.lU9OpH/_old 2026-09-16 17:47:57.993110341 +0200 +++ /var/tmp/diff_new_pack.lU9OpH/_new 2026-09-16 17:47:58.000110634 +0200 @@ -55,10 +55,10 @@ %endif %{?sle15_python_module_pythons} Name: python-torch%{?pkg_suffix} -Version: 2.13.0 +Version: 2.14.0 Release: 0 Summary: Deep learning framework aka pytorch/Caffe2 -# Legal-Review-Notice: licences re-derived for 2.13.0 against the code that is +# Legal-Review-Notice: licences re-derived for 2.14.0 against the code that is # actually compiled into the shipped binaries, not against third_party/ as a whole. # - Apache-2.0 WITH LLVM-exception: LLVM-derived sources in c10 (SmallVector.{h,cpp}, # FunctionRef.h, llvmMathExtras.h, sparse_bitset.h) link into libc10/libtorch_cpu; @@ -92,6 +92,10 @@ BuildRequires: %{python_module protobuf} BuildRequires: %{python_module psutil} BuildRequires: %{python_module py-cpuinfo} +# 2.14.0 builds through the scikit-build-core PEP 517 backend (setup.py is +# only a deprecated shim now); %%pyproject_wheel runs with --no-build-isolation +# so the backend must come from the buildroot. +BuildRequires: %{python_module scikit-build-core >= 1.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typing_extensions} BuildRequires: %{python_module typing} @@ -256,11 +260,18 @@ %build cat > buildvars <<EOF -export CMAKE_C_FLAGS="%{optflags}" -export CMAKE_CXX_FLAGS="%{optflags}" +# -fno-lto must ride in CMAKE_*_FLAGS, not only CFLAGS: scikit-build-core +# forwards the CMAKE_* environment as -D cache entries, shadowing the +# CFLAGS-derived defaults, and the LTO link ICEs gcc on the SVE moments code. +export CMAKE_C_FLAGS="%{optflags} -fno-lto" +export CMAKE_CXX_FLAGS="%{optflags} -fno-lto" export CMAKE_BUILD_TYPE="RelWithDebInfo" -export CMAKE_INSTALL_PREFIX="%{_prefix}" export CMAKE_VERBOSE_MAKEFILE=ON +# The tar_scm tarball has no .git and version.txt reads "2.14.0a0", so without +# these the wheel metadata (and torch.__version__) would say 2.14.0a0. Same +# variables upstream's own release pipeline sets; build 1 has no .post suffix. +export PYTORCH_BUILD_VERSION="%{version}" +export PYTORCH_BUILD_NUMBER=1 # Build system configuration export BLAS=OpenBLAS export MAX_JOBS=%{?jobs} @@ -380,6 +391,8 @@ %python_expand ln -sf %{_libdir}/libc10.so %{buildroot}%{$python_sitearch}/torch/lib/libc10.so %python_clone -a %{buildroot}%{_bindir}/torchrun +# 2.14.0 adds a second console script, the Flight Recorder tracer. +%python_clone -a %{buildroot}%{_bindir}/torchfrtrace # Move header files from main package to devel package locations %python_expand mkdir -p %{buildroot}%{$python_sitearch}/torch-devel/csrc/inductor/aoti_runtime @@ -391,12 +404,15 @@ %pre %python_libalternatives_reset_alternative torchrun +%python_libalternatives_reset_alternative torchfrtrace %post %python_install_alternative torchrun +%python_install_alternative torchfrtrace %postun %python_uninstall_alternative torchrun +%python_uninstall_alternative torchfrtrace %post -n libtorch%{?pkg_suffix} -p /sbin/ldconfig %postun -n libtorch%{?pkg_suffix} -p /sbin/ldconfig @@ -418,6 +434,7 @@ # package ships only compatibility symlinks under torch/lib pointing at # %%{_libdir} so the shipped CMake config resolves for downstream consumers. %python_alternative %{_bindir}/torchrun +%python_alternative %{_bindir}/torchfrtrace %files %{python_files devel} %{python_sitearch}/torch/share ++++++ _service ++++++ --- /var/tmp/diff_new_pack.lU9OpH/_old 2026-09-16 17:47:58.160117316 +0200 +++ /var/tmp/diff_new_pack.lU9OpH/_new 2026-09-16 17:47:58.168117651 +0200 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/pytorch/pytorch</param> - <param name="revision">v2.13.0</param> + <param name="revision">v2.14.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="submodules">enable</param> </service> ++++++ pytorch-v2.13.0.tar.gz -> pytorch-v2.14.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-torch/pytorch-v2.13.0.tar.gz /work/SRC/openSUSE:Factory/.python-torch.new.383539/pytorch-v2.14.0.tar.gz differ: char 12, line 1
