···1-# Warning: use the same CUDA version as pytorch-bin.
2#
3# Precompiled wheels can be found at:
4# https://download.pytorch.org/whl/torch_stable.html
···1+# Warning: use the same CUDA version as torch-bin.
2#
3# Precompiled wheels can be found at:
4# https://download.pytorch.org/whl/torch_stable.html
···7, isPy39
8, isPy310
9, python
10-, pytorch-bin
11, pythonOlder
12, pythonAtLeast
13}:
···26 disabled = !(isPy37 || isPy38 || isPy39 || isPy310);
2728 propagatedBuildInputs = [
29- pytorch-bin
30 ];
3132 # The wheel-binary is not stripped to avoid the error of `ImportError: libtorch_cuda_cpp.so: ELF load command address/offset not properly aligned.`.
···38 # Note: after patchelf'ing, libcudart can still not be found. However, this should
39 # not be an issue, because PyTorch is loaded before torchvision and brings
40 # in the necessary symbols.
41- patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}:${pytorch-bin}/${python.sitePackages}/torch/lib:" \
42 "$out/${python.sitePackages}/torchaudio/_torchaudio.so"
43 '';
44
···7, isPy39
8, isPy310
9, python
10+, torch-bin
11, pythonOlder
12, pythonAtLeast
13}:
···26 disabled = !(isPy37 || isPy38 || isPy39 || isPy310);
2728 propagatedBuildInputs = [
29+ torch-bin
30 ];
3132 # The wheel-binary is not stripped to avoid the error of `ImportError: libtorch_cuda_cpp.so: ELF load command address/offset not properly aligned.`.
···38 # Note: after patchelf'ing, libcudart can still not be found. However, this should
39 # not be an issue, because PyTorch is loaded before torchvision and brings
40 # in the necessary symbols.
41+ patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}:${torch-bin}/${python.sitePackages}/torch/lib:" \
42 "$out/${python.sitePackages}/torchaudio/_torchaudio.so"
43 '';
44
···1-# Warning: Need to update at the same time as pytorch-bin
2#
3# Precompiled wheels can be found at:
4# https://download.pytorch.org/whl/torch_stable.html
···1+# Warning: Need to update at the same time as torch-bin
2#
3# Precompiled wheels can be found at:
4# https://download.pytorch.org/whl/torch_stable.html
···9, patchelf
10, pillow
11, python
12-, pytorch-bin
13}:
1415let
···3435 propagatedBuildInputs = [
36 pillow
37- pytorch-bin
38 ];
3940 # The wheel-binary is not stripped to avoid the error of `ImportError: libtorch_cuda_cpp.so: ELF load command address/offset not properly aligned.`.
···48 # Note: after patchelf'ing, libcudart can still not be found. However, this should
49 # not be an issue, because PyTorch is loaded before torchvision and brings
50 # in the necessary symbols.
51- patchelf --set-rpath "${rpath}:${pytorch-bin}/${python.sitePackages}/torch/lib:" \
52 "$out/${python.sitePackages}/torchvision/_C.so"
53 '';
54
···9, patchelf
10, pillow
11, python
12+, torch-bin
13}:
1415let
···3435 propagatedBuildInputs = [
36 pillow
37+ torch-bin
38 ];
3940 # The wheel-binary is not stripped to avoid the error of `ImportError: libtorch_cuda_cpp.so: ELF load command address/offset not properly aligned.`.
···48 # Note: after patchelf'ing, libcudart can still not be found. However, this should
49 # not be an issue, because PyTorch is loaded before torchvision and brings
50 # in the necessary symbols.
51+ patchelf --set-rpath "${rpath}:${torch-bin}/${python.sitePackages}/torch/lib:" \
52 "$out/${python.sitePackages}/torchvision/_C.so"
53 '';
54
···1-# Warning: use the same CUDA version as pytorch-bin.
2#
3# Precompiled wheels can be found at:
4# https://download.pytorch.org/whl/torch_stable.html
···1+# Warning: use the same CUDA version as torch-bin.
2#
3# Precompiled wheels can be found at:
4# https://download.pytorch.org/whl/torch_stable.html
···78stdenv.mkDerivation rec {
9 pname = "adguardhome";
10- version = "0.107.9";
11 src = sources.${system} or (throw "Source for ${pname} is not available for ${system}");
1213 installPhase = ''
···78stdenv.mkDerivation rec {
9 pname = "adguardhome";
10+ version = "0.107.11";
11 src = sources.${system} or (throw "Source for ${pname} is not available for ${system}");
1213 installPhase = ''
···158 python-subunit = subunit; # added 2021-09-10
159 pytest_xdist = pytest-xdist; # added 2021-01-04
160 python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
0000161 pytwitchapi = twitchapi; # added 2022-03-07
162 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
163 qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
···158 python-subunit = subunit; # added 2021-09-10
159 pytest_xdist = pytest-xdist; # added 2021-01-04
160 python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
161+ pytorch = torch; # added 2022-09-30
162+ pytorch-bin = torch-bin; # added 2022-09-30
163+ pytorchWithCuda = torchWithCuda; # added 2022-09-30
164+ pytorchWithoutCuda = torchWithoutCuda; # added 2022-09-30
165 pytwitchapi = twitchapi; # added 2022-03-07
166 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
167 qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";