Junji Hashimoto
3a75819912
Bump pytorch-bin to 1.9.1
2021-09-23 22:20:07 -07:00
Daniël de Kok
6f2ce2a65e
treewide: remove danieldk as maintainer from a set of packages
...
I currently do not have much time to work on nixpkgs. Remove
myself as a maintainer from a bunch of packages to avoid that
people are waiting on me for a review.
2021-09-12 14:42:12 +00:00
Alexander Kiselyov
20a1ea5de7
python3Packages.pytorch: added BLAS provider passthru
...
`torch.fft` is available only when BLAS provider is MKL. Passing it thru
allows dependent derivations to easily check for FFT availability.
2021-08-29 00:33:01 +03:00
Alexander Kiselyov
717538e908
python3Packages.torchvision: added cudaSupport option ( #132917 )
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-08-08 19:42:58 +02:00
Sandro
fa01be2045
Merge pull request #127305 from danieldk/pytorch-bin-1.9.0
...
python3Packages.pytorch-bin: 1.8.1 -> 1.9.0
2021-06-18 12:21:29 +02:00
Daniël de Kok
01015bebe9
python3Packages.pytorch-bin: 1.8.1 -> 1.9.0
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.9.0
2021-06-18 07:56:44 +02:00
Daniël de Kok
91bde9718f
python3Packages.pytorch: 1.8.1 -> 1.9.0
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.9.0
2021-06-16 15:43:14 +02:00
Robert Schütz
41dbf5c32e
python3Packages.pytorch: unvendor pybind11
2021-05-14 12:44:20 +00:00
Daniël de Kok
c8283cedb7
python3Packages.pytorch-bin: use CUDA 11 wheels
2021-05-12 14:58:39 +02:00
Daniël de Kok
afa7f8d9e1
python3Packages.pytorch-bin: add meta.changelog
2021-05-11 08:15:34 +02:00
Daniël de Kok
8a9702b652
python3Packages.pytorch-bin: 1.8.0 -> 1.8.1
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.8.1
2021-05-11 08:13:53 +02:00
Luke Granger-Brown
0d4abe5d4b
python3Packages.pytorch: require big-parallel
...
This compiles in usually about 2h15m with a 2-core build, but about 10m
on a big-parallel machine.
2021-04-26 00:50:07 +00:00
Jörg Thalheim
57ae5de960
Merge pull request #118964 from danieldk/pytorch-no-tests
...
python3Packages.pytorch: disable building of tests
2021-04-11 15:22:13 +01:00
Daniël de Kok
0603c25738
python3Packages.pytorch: remove unused USE_MKL variable
...
PyTorch will always try to find MKL, USE_MKL does not do anything
anymore. So, we have to rely on MKL not being in the build
environment.
2021-04-10 08:10:28 +02:00
Daniël de Kok
209f4678f2
python3Packages.pytorch: disable building of tests
...
- We do not run them.
- The test binaries are installed into site-packages by default.
2021-04-10 08:09:38 +02:00
Daniël de Kok
4f876309fe
python3Packages.pytorch: convert boolean environment variables
...
We relied on the stdenv serialization for booleans. However, the
PyTorch configure script expects 0/1. So convert the options to 0/1
values.
2021-04-10 08:08:08 +02:00
Daniël de Kok
9917d918d6
python3Packages.pytorch: 1.8.0 -> 1.8.1
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.8.1
2021-03-25 17:57:11 +01:00
Sandro Jäckel
d43e54487b
pythonPackages.pytorch: remove ? null from inputs
2021-03-10 23:52:37 +01:00
Sandro Jäckel
3ceb5ab5ed
pythonPackages.pytorch: mark broken for darwin
2021-03-10 23:52:36 +01:00
Daniël de Kok
d4a72d5908
Merge pull request #115166 from danieldk/pytorch-bin-1.8.0
...
python3Packages.pytorch-bin: 1.7.1 -> 1.8.0
2021-03-08 09:03:21 +01:00
Daniël de Kok
d852ce11c3
python3Packages.pytorch-bin: 1.7.1 -> 1.8.0
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.8.0
2021-03-06 07:36:54 +01:00
Daniël de Kok
6551ff3d48
python3Packages.pytorch: 1.7.1 -> 1.8.0
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.8.0
2021-03-05 10:04:13 +01:00
Daniël de Kok
e9b3e36f44
Merge pull request #113207 from danieldk/pytorch-cuda-11
...
python3Packages.pytorch: add compute capabilities for CUDA 11
2021-03-05 08:01:50 +01:00
Daniël de Kok
6038b56de8
python3Packages.pytorch: add compute capabilities for CUDA 11
...
CUDA 11 supports capabilities 8.0 and 8.6. The change adds these
capabilities when CUDA 11 is used, enabling support for Ampere GPUs.
2021-03-04 11:16:48 +01:00
Daniël de Kok
ebf348fc9a
python3Packages.pytorch-bin: do not depend on nvidia_x11
...
libcuda.so should be provided through /run/opengl-driver/lib to use
the system's version. This also avoids rebuilds when linuxPackages is
updated.
2021-02-15 19:29:35 +01:00
Pavol Rusnak
a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib
2021-01-24 01:29:22 +01:00
Markus Kowalewski
6dba41fbcb
mpi: use mpi attribute consistently as the default MPI implementations
...
Use the attribute mpi to provide a system wide default MPI
implementation. The default is openmpi (as before).
This now allows for overriding the MPI implentation by using
the overlay mechanism. Build all packages with mpich instead
of the default openmpi can now be achived like this:
self: super:
{
mpi = super.mpich;
}
All derivations that have been using "mpi ? null" to provide optional
building with MPI have been change in the following way to allow for
optional builds with MPI:
{ ...
, mpi
, useMpi ? false
}
2021-01-23 12:15:13 +01:00
Profpatsch
4a7f99d55d
treewide: with stdenv.lib; in meta -> with lib;
...
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Daniël de Kok
e6c42f6405
Merge pull request #106585 from danieldk/pytorch-bin-1.7.1
...
python3Packages.pytorch-bin: 1.7.0 -> 1.7.1
2020-12-16 13:38:11 +01:00
Daniël de Kok
b9c76212fd
python3Packages.pytorch: 1.7.0 -> 1.7.1
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.7.1
2020-12-11 15:51:16 +01:00
Daniël de Kok
b51d8fc442
python3Packages.pytorch-bin: 1.7.0 -> 1.7.1
...
This also adds Python 3.9 compatibility.
2020-12-11 06:56:05 +01:00
Daniël de Kok
75bbba8cee
python3Packages.pytorch: add danieldk as a maintainer
2020-12-04 13:38:28 +01:00
Daniël de Kok
7e629cc3ae
python3Packages.pytorch: Fix CMake files for split outputs
...
Fixes #102146
2020-12-03 08:30:18 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux
2020-11-24 12:42:06 -05:00
Daniël de Kok
5e93492b7f
Merge pull request #101917 from danieldk/pytorch-1.7.0
...
python3Packages.pytorch: 1.6.0 -> 1.7.0
2020-11-11 11:51:20 +01:00
Daniël de Kok
92041430d4
python3Packages.pytorch-bin: 1.6.0 -> 1.7.0
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.7.0
2020-10-28 14:04:31 +01:00
Daniël de Kok
4ac0258cd7
python3Packages.pytorch: 1.6.0 -> 1.7.0
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.7.0
2020-10-28 11:58:55 +01:00
Matthew Bauer
c85fc341b0
pytorch: update to use passthru's for checks
...
This makes the checks a little easier to understand - we can just
check it in the passthru. Also increase major check for cuda 11.
2020-09-10 14:23:15 -05:00
Daniël de Kok
33b21aec60
pytorch-bin: init at 1.6.0
2020-08-30 11:12:16 -07:00
Daniël de Kok
a4ed797948
python3Packages.pytorch: remove oneDNN dependency
...
oneDNN was added as a dependency, but it is not actually used by
PyTorch. PyTorch uses oneDNN from the vendored iDeep dependency.
Using a system-provided oneDNN is currently not a supported build
option.
2020-08-26 10:55:52 +02:00
Daniël de Kok
bc7b404b1a
python3Packages.pytorch: fix library names in lib output on Darwin
...
The library name fixup was attempted on the dev output, whereas it should be
applied to the lib output.
2020-08-08 10:36:48 +02:00
Daniël de Kok
6ffc0fd601
python3Packages.pytorch: fix Darwin build by disabling GCD
...
PyTorch 1.6.0 has updated the vendored pthreadpool library, which has recently
added support for Grand Central Dispatch. Unfortunately, it uses functionality
(DISPATCH_APPLY_AUTO) that is only available since macOS 10.13, whereas we are
still using 10.12 libraries.
We can't directly pass through option to vendored libraries, since the setup.py
scripts creates/filters the options that are passed to CMake. So, instead, this
adds a small patch that disables the GCD functionality in pthreadpool.
2020-08-08 10:36:48 +02:00
Daniël de Kok
c67ba72dd8
python3Packages.pytorch: 1.5.1 -> 1.6.0
...
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.6.0
2020-07-31 10:58:45 -07:00
Daniël de Kok
2611e96bf3
python3Packages.pytorch: create separate lib output
...
At some point pytorch.dev was added to expose the libtorch headers and
libraries to non-Python users of libtorch. However, this output
currently has two disadvantages:
1. An application that compiles against the dev output will also have
the libtorch header files in its closure. This is not so nice when
e.g. building Docker images of applications that use libtorch.
2. The dev output has a large transitive closure with many dependencies
that are not necessary when compiling against libtorch.
This change adds the `lib` output so that applications that only link
against libtorch libraries have a small closure.
Before this change, the libtorch dependency adds 746MiB:
% nix path-info -S `realpath result-dev`
/nix/store/10rmy81bjk628sfpbj2szxlws6brq1xn-python3.8-pytorch-1.5.1-dev 782203848
With this change it is reduced to 196MiB:
% nix path-info -S `realpath result-lib`
/nix/store/bck65lf0z7gdhcf89w1zs5nz333lhgwa-python3.8-pytorch-1.5.1-lib 205865056
2020-07-12 08:34:19 +02:00
Daniël de Kok
5c80cdeb1a
python3Packages.pytorch: fix AArch64 build
...
aarch64-linux builds fail because of the use of opcodes in QNNPACK
that the GNU assembpler does not support. This change cherry-picks an
upstream patch that fixes this. See:
https://github.com/pytorch/pytorch/issues/33124
https://github.com/pytorch/pytorch/pull/40584
2020-06-30 09:25:45 +02:00
Daniël de Kok
d144f2dfda
python3Packages.pytorch: 1.5.0 -> 1.5.1
...
Changelog:
https://github.com/pytorch/pytorch/tree/v1.5.1
2020-06-30 08:01:39 +02:00
Guillaume Desforges
0574ace715
pythonPackages.pytorch: 1.4.1 -> 1.5.0
...
Fixes previous bugs that required a patch
Fixes CUDA build, see https://github.com/NixOS/nixpkgs/issues/89403
2020-06-08 11:39:23 -07:00
Benjamin Hipple
ecef2975e3
python3Packages.pytorch: reference dnnl by new name oneDNN
2020-05-09 14:46:40 -04:00
Benjamin Hipple
fb5bb25c10
python3Packages.pytorch: fixup builds with MKL
...
- Pass `blas.provider` into `buildInputs`, so that CMake can find the actual
`mkl` for inspection of its cmake files and headers.
- Add `USE_MKL` correctly when the blas provider is `mkl`.
- Use the MKLDNN and MKLDNN_CBLAS flags by default, since `mkldnn` is FOSS and
always available..
- Remove a patch for MKL 2019, since we've moved to 2020.
- Add a pythonImportsCheck for "torch" as a basic sanity-check
- Removed some unused variables at the top of the file
2020-05-09 13:30:54 -04:00
Sam Stites
cc245fdcd5
pytorch: 1.2.0 -> 1.4.1
...
Co-authored-by: Benjamin Hipple <bhipple@protonmail.com>
2020-05-09 13:30:54 -04:00