Commit 4a21c155 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.torchtune: disable on Darwin due to sentencepiece bug

parent 0b3fb463
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -119,5 +119,10 @@ buildPythonPackage rec {
    changelog = "https://github.com/meta-pytorch/torchtune/releases/tag/${src.tag}";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ GaetanLepage ];
    badPlatforms = [
      # sentencepiece 0.21.0 segfaults when initialized on Darwin
      # See https://github.com/NixOS/nixpkgs/issues/466092
      lib.systems.inspect.patterns.isDarwin
    ];
  };
}