Open Isomorph70 opened 1 year ago
gpt2tc package currently uses compiled binaries from Fabrice Bellard; I could rewrite the package to compile from the open-source release of its code, but it still relies on a closed-source library called libnc that uses vector CPU extensions for tensor operations, so I don't know how much that would help.
I'm pretty sure you'd still need a compatible CPU.
I fell like there should be some kind of block or a warning, so you don't end up with useless software your computer.
It also might able to set it up, so different versions is used, if the flags is not supported. Like GPT4ALL did https://discourse.nixos.org/t/gpt4all-nix-derivation/27744/8
Unfortunately nixpkgs doesn't let you test for CPU flags. The architecture checks aren't that granular.
Describe the bug
gpt2tc fails and report wrong/missing cpu flags.
Steps To Reproduce
Steps to reproduce the behavior:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this error
Expected behavior
Something else than the error 'Your CPU does not support AVX2+FMA - exiting'
Additional context
My cpu info might be useful.
Notify maintainers
@anna328p
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.