Loading pkgs/development/python-modules/sentence-transformers/default.nix +23 −17 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -101,7 +102,8 @@ buildPythonPackage rec { "test_trainer_multi_dataset_errors" ]; disabledTestPaths = [ disabledTestPaths = [ # Tests require network access "tests/cross_encoder/test_cross_encoder.py" "tests/cross_encoder/test_train_stsb.py" Loading @@ -117,6 +119,10 @@ buildPythonPackage rec { "tests/test_pretrained_stsb.py" "tests/test_sentence_transformer.py" "tests/test_train_stsb.py" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Segfault "tests/test_sparse_tensor.py" ]; # Sentence-transformer needs a writable hf_home cache Loading Loading
pkgs/development/python-modules/sentence-transformers/default.nix +23 −17 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -101,7 +102,8 @@ buildPythonPackage rec { "test_trainer_multi_dataset_errors" ]; disabledTestPaths = [ disabledTestPaths = [ # Tests require network access "tests/cross_encoder/test_cross_encoder.py" "tests/cross_encoder/test_train_stsb.py" Loading @@ -117,6 +119,10 @@ buildPythonPackage rec { "tests/test_pretrained_stsb.py" "tests/test_sentence_transformer.py" "tests/test_train_stsb.py" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Segfault "tests/test_sparse_tensor.py" ]; # Sentence-transformer needs a writable hf_home cache Loading