nixos/ollama: fix rocmOverrideGfx description

Updated example to one that works, based on this comment:
https://github.com/NixOS/nixpkgs/issues/333123#issuecomment-2310706898
This commit is contained in:
abysssol 2024-08-26 16:01:47 -04:00
parent 6a5b725f7c
commit 4b417eb22b

View File

@ -127,8 +127,7 @@ in
example = "10.3.0";
description = ''
Override what rocm will detect your gpu model as.
For example, make rocm treat your RX 5700 XT (or any other model)
as an RX 6900 XT using a value of `"10.3.0"` (gfx 1030).
For example, if you have an RX 5700 XT, try setting this to `"10.1.0"` (gfx 1010).
This sets the value of `HSA_OVERRIDE_GFX_VERSION`. See [ollama's docs](
https://github.com/ollama/ollama/blob/main/docs/gpu.md#amd-radeon