123
This commit is contained in:
1 parent
c995d8baf8
commit
56763644e3
4 files changed
+43
-18
No files matched your search
@@ -3,11 +3,22 @@
|
||||
lib,
|
||||
pkgs,
|
||||
xlib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
work = import inputs.nixpkgs-master { system = "x86_64-linux"; };
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.openai-whisper
|
||||
work.openai-whisper
|
||||
|
||||
# (work.openai-whisper.override {
|
||||
# torch = pkgs.python313Packages.torch-bin; # Используй бинарный torch с ROCm, чтобы обойти сборочную хуйню
|
||||
# })
|
||||
];
|
||||
#hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ];
|
||||
# systemd.tmpfiles.rules = ["L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"];
|
||||
# hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ];
|
||||
|
||||
nixpkgs.config.rocmSupport = true;
|
||||
}
|
||||
Reference in new issue
Block a user