This commit is contained in:
2025-08-28 18:19:50 +03:00
parent 002abaafe7
commit 7a6adb28ee
6 changed files with 14 additions and 9 deletions
+5 -5
View File
@@ -6,12 +6,12 @@
inputs,
...
}:
let
work = import inputs.nixpkgs-master { system = "x86_64-linux"; };
in
# let
# work = import inputs.nixpkgs-master { system = "x86_64-linux"; };
# in
{
environment.systemPackages = [
work.openai-whisper
pkgs.openai-whisper
# (work.openai-whisper.override {
# torch = pkgs.python313Packages.torch-bin; # Используй бинарный torch с ROCm, чтобы обойти сборочную хуйню
@@ -20,5 +20,5 @@ in
# systemd.tmpfiles.rules = ["L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"];
# hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ];
nixpkgs.config.rocmSupport = true;
#nixpkgs.config.rocmSupport = true;
}