[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69591] [PATCH v3 00/32] Unbundle and update python-pytorch
From: |
David Elsing |
Subject: |
[bug#69591] [PATCH v3 00/32] Unbundle and update python-pytorch |
Date: |
Wed, 20 Mar 2024 22:37:07 +0000 |
In the QA, several builds failed, mostly because some libraries are not
supported on all architectures, so I added the supported-systems fields
and only include oneapi-dnnl, qnnpack, qnnpack-pytorch, xnnpack, nnpack
and cpuinfo for supported systems as input for python-pytorch.
For x86_64, nnpack requires AVX2 or AVX-512 instructions and fbgemm is
only available for x86_64 with AVX2 or AVX-512 instructions.
Therefore, I removed them from the inputs for x86_64 (fbgemm for all)
and only include them in the python-pytorch-avx package variant.
asmjit fails to build on armhf because GCC runs out of memory. What
should be done here? It's only used by blacksmith, fbgemm and
python-pytorch*.
cpuinfo has a bug on aarch64, which was reported upstream:
https://github.com/pytorch/cpuinfo/issues/14
I therefore excluded aarch64-linux from supported-systems.
Due to these problems, the python-pytorch package only builds on
x86_64-linux, but it doesn't seem to have been different before.
David Elsing (32):
gnu: asmjit: Update to commit 3ca5c18.
gnu: Add python-typing-extensions-4.10.
gnu: Add python-optree.
gnu: Add python-pytest-flakefinder.
gnu: Add python-pytest-shard.
gnu: Add python-expecttest.
gnu: Add python-pytest-rerunfailures-13.
gnu: Add miniz.
gnu: Add miniz-for-pytorch.
gnu: Add libnop.
gnu: Remove flatbuffers-next-shared.
gnu: python-flatbuffers-next: Update to 23.5.26.
gnu: pthreadpool: Update to commit 178e3e0.
gnu: cpuinfo: Update to commit aa4b216.
gnu: clog: Add "-DUSE_SYSTEM_LIBS=ON" configure flag.
gnu: nnpack: Update to commit 70a77f4.
gnu: oneapi-dnnl: Update to 3.3.5.
gnu: Add tensorpipe.
gnu: Add fbgemm.
gnu: Add qnnpack.
gnu: Add foxi.
gnu: Add ideep-pytorch.
gnu: xnnpack: Update to commit 51a9875.
gnu: Remove xnnpack-for-torch2.
gnu: Add qnnpack-pytorch.
gnu: python-pytorch: Update to 2.2.1 and unbundle dependencies.
gnu: Add python-pytorch-avx.
gnu: python-torchvision: Update to 0.17.1.
gnu: Add ideep-pytorch-for-r-torch.
gnu: Add oneapi-dnnl-for-r-torch.
gnu: Add qnnpack-pytorch-for-r-torch.
gnu: python-pytorch-for-r-torch: Adjust to new python-pytorch.
gnu/local.mk | 10 +-
gnu/packages/compression.scm | 50 +
gnu/packages/cpp.scm | 6 +-
gnu/packages/machine-learning.scm | 964 +++-
gnu/packages/parallel.scm | 34 +-
.../patches/clog-fix-shared-build.patch | 39 +-
.../patches/cpuinfo-system-libraries.patch | 50 -
.../patches/fbgemm-use-system-libraries.patch | 62 +
gnu/packages/patches/foxi-fix-build.patch | 55 +
gnu/packages/patches/miniz-for-pytorch.patch | 47 +
.../patches/python-optree-fix-32-bit.patch | 122 +
...ython-pytorch-1.9.0-system-libraries.patch | 139 -
.../patches/python-pytorch-fix-codegen.patch | 167 +
...thon-pytorch-for-r-torch-fix-codegen.patch | 167 +
...pytorch-for-r-torch-system-libraries.patch | 399 ++
.../patches/python-pytorch-runpath.patch | 19 +-
.../python-pytorch-system-libraries.patch | 317 +-
.../python-pytorch-without-kineto.patch | 60 +
.../python-pytorch2-system-libraries.patch | 156 -
.../xnnpack-for-torch2-system-libraries.patch | 2660 -----------
.../patches/xnnpack-remove-broken-tests.patch | 337 ++
.../patches/xnnpack-system-libraries.patch | 4133 ++++++++++-------
gnu/packages/python-build.scm | 14 +-
gnu/packages/python-check.scm | 89 +
gnu/packages/python-xyz.scm | 30 +
gnu/packages/serialization.scm | 54 +-
26 files changed, 5209 insertions(+), 4971 deletions(-)
delete mode 100644 gnu/packages/patches/cpuinfo-system-libraries.patch
create mode 100644 gnu/packages/patches/fbgemm-use-system-libraries.patch
create mode 100644 gnu/packages/patches/foxi-fix-build.patch
create mode 100644 gnu/packages/patches/miniz-for-pytorch.patch
create mode 100644 gnu/packages/patches/python-optree-fix-32-bit.patch
delete mode 100644
gnu/packages/patches/python-pytorch-1.9.0-system-libraries.patch
create mode 100644 gnu/packages/patches/python-pytorch-fix-codegen.patch
create mode 100644
gnu/packages/patches/python-pytorch-for-r-torch-fix-codegen.patch
create mode 100644
gnu/packages/patches/python-pytorch-for-r-torch-system-libraries.patch
create mode 100644 gnu/packages/patches/python-pytorch-without-kineto.patch
delete mode 100644 gnu/packages/patches/python-pytorch2-system-libraries.patch
delete mode 100644
gnu/packages/patches/xnnpack-for-torch2-system-libraries.patch
create mode 100644 gnu/packages/patches/xnnpack-remove-broken-tests.patch
--
2.41.0
- [bug#69591] [PATCH v2 31/31] gnu: python-pytorch-for-r-torch: Adjust to new python-pytorch., (continued)
- [bug#69591] [PATCH v2 31/31] gnu: python-pytorch-for-r-torch: Adjust to new python-pytorch., David Elsing, 2024/03/12
- [bug#69591] [PATCH v2 18/31] gnu: Add tensorpipe., David Elsing, 2024/03/12
- [bug#69591] [PATCH v2 08/31] gnu: Add miniz., David Elsing, 2024/03/12
- [bug#69591] [PATCH v2 29/31] gnu: Add oneapi-dnnl-for-r-torch., David Elsing, 2024/03/12
- [bug#69591] [PATCH v2 09/31] gnu: Add miniz-for-pytorch., David Elsing, 2024/03/12
- [bug#69591] [PATCH v2 25/31] gnu: Add qnnpack-pytorch., David Elsing, 2024/03/12
- [bug#69591] [PATCH v2 23/31] gnu: xnnpack: Update to commit 51a9875., David Elsing, 2024/03/12
- [bug#69591] [PATCH v2 15/31] gnu: clog: Add "-DUSE_SYSTEM_LIBS=ON" configure flag., David Elsing, 2024/03/12
- [bug#69591] [PATCH v2 21/31] gnu: Add foxi., David Elsing, 2024/03/12
- [bug#69591] [PATCH v2 20/31] gnu: Add qnnpack., David Elsing, 2024/03/12
- [bug#69591] [PATCH v3 00/32] Unbundle and update python-pytorch,
David Elsing <=
- [bug#69591] [PATCH v3 01/32] gnu: asmjit: Update to commit 3ca5c18., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 02/32] gnu: Add python-typing-extensions-4.10., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 04/32] gnu: Add python-pytest-flakefinder., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 03/32] gnu: Add python-optree., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 05/32] gnu: Add python-pytest-shard., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 07/32] gnu: Add python-pytest-rerunfailures-13., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 06/32] gnu: Add python-expecttest., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 08/32] gnu: Add miniz., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 11/32] gnu: Remove flatbuffers-next-shared., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 10/32] gnu: Add libnop., David Elsing, 2024/03/20