{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "gufo-org-gufo--build-gufo-from-source-with-nix",
 "repo": "gufo-org/gufo",
 "repo_url": "https://github.com/gufo-org/gufo",
 "repo_slug": "gufo-org-gufo",
 "title": "Build Gufo from source with Nix and run diagnostics",
 "page_title": "How to build Gufo from source with Nix and run diagnostics with Gufo",
 "summary": "Compile the production package with Nix, check the Strix Halo setup, and start a local model.",
 "who": "A Linux engineer on Strix Halo who wants a reproducible build or needs to debug GPU access before serving models.",
 "problem": "ROCm and GPU setup on Strix Halo is fragile, and a manual build can drift from the tested toolchain.",
 "outcome": "A built Gufo binary that reports the device status and serves a local GGUF model.",
 "steps": [
  "Clone the Gufo repo and run `nix build` in its root to build the production package.",
  "Run `./result/bin/gufo diagnose` to check the GPU and runtime setup.",
  "Run `./result/bin/gufo serve llm --model /path/to/model.gguf` with your own GGUF model file.",
  "If the build needs the development tools, run `nix develop` as the README describes for profiling and model download tools. (inferred, check the README)"
 ],
 "agent_prompt": "Clone the gufo repo, run nix build, then run ./result/bin/gufo diagnose and report its full output. Start ./result/bin/gufo serve llm --model <path to GGUF file> and confirm the server reports it is listening.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "2 hours",
 "basis": "readme",
 "caveat": "The README states the Nix package includes a ROCr 7.2.3 patch for Strix Halo, so a build on other GPU or ROCm setups is outside the documented target.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "c++",
 "requirements": [
  "Linux x86-64 machine with AMD Strix Halo (gfx1151) and enough unified memory for the chosen model",
  "Podman with rootless GPU device access to /dev/kfd and /dev/dri",
  "Hugging Face CLI (hf) to download model weights",
  "Several tens of GB of free disk space for model files"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/gufo-org-gufo/build-gufo-from-source-with-nix/",
 "md": "https://dedupedai.com/use-cases/gufo-org-gufo/build-gufo-from-source-with-nix/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/gufo-org-gufo--build-gufo-from-source-with-nix.json",
 "api_version": "v1"
}
