Open junjihashimoto opened 3 years ago
There is no binary hash for macos. https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/pytorch/binary-hashes.nix
it's marked as broken on Darwin, https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/pytorch/default.nix#L311
oh, I see my name there, I guess I have to solve it ;)
If the cause of the broken is a dll symbol, this may fix it. https://github.com/hasktorch/libtorch-nix/blob/main/libtorch/generic.nix#L21-L39
So at this point, cache.nixos.org doesn't have pytorch cache for macos.
issues persist after switching to poetry2nix: https://github.com/nix-community/poetry2nix/issues/337
It seems that we can not get pytorch or transformer on macos. https://github.com/hasktorch/hasktorch-datasets/pull/1