mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 22:30:23 +00:00
python3Packages.torchaudio: disable RAM intensive test
This test alone baloons the memory usage of the pytest process to something like 20GB, which makes torchaudio effectively unbuildable on the kind of machines most people actually have, especially aarch64. With it skipped, the whole thing still peaks at something like 15GB, but that at least puts us under 16GB+zram which is a best-case potato system setup.
This commit is contained in:
@@ -117,10 +117,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
|
||||
disabledTestPaths = [
|
||||
# Require internet access
|
||||
"test/integration_tests"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Passes, but hangs the build after Pytest completes
|
||||
"test/torchaudio_unittest/models/models_test.py::TestConvTasNet"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
@@ -140,6 +136,9 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
|
||||
"AutogradCPUTest"
|
||||
"TestAutogradLfilterCPU"
|
||||
"TestWav2Vec2Model"
|
||||
|
||||
# Massive RAM usage
|
||||
"TestConvTasNet"
|
||||
]
|
||||
++ lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [
|
||||
# AssertionError: Tensor-likes are not close!
|
||||
|
||||
Reference in New Issue
Block a user