{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "gufo-org-gufo--serve-qwen-27b-local-api",
 "repo": "gufo-org/gufo",
 "repo_url": "https://github.com/gufo-org/gufo",
 "repo_slug": "gufo-org-gufo",
 "title": "Run Qwen3.8 27B as a private local API on Strix Halo",
 "page_title": "How to run Qwen3.8 27B as a private local API on Strix Halo with Gufo",
 "summary": "Download the model and start a local OpenAI-compatible chat endpoint on port 8080 in one container.",
 "who": "A developer with a Strix Halo workstation who wants a private, self-hosted LLM endpoint for apps or chat tools.",
 "problem": "Cloud model APIs send prompts off the machine, and running a large model locally needs GPU setup that is easy to get wrong.",
 "outcome": "A running local server that answers chat requests at http://localhost:8080/v1 with the Qwen3.8 27B model.",
 "steps": [
  "Run `hf download unsloth/Qwen3.8-27B-GGUF Qwen3.8-27B-UD-Q8_K_XL.gguf --revision 4ca720788d1e01f1bff70c033e0d0028fd02e502 --repo-type model --local-dir models/Qwen3.8-27B-GGUF` to get the main model file. (inferred, check the README)",
  "Run `hf download z-lab/Qwen3.8-27B-DFlash2-GGUF Qwen3.8-27B-DFlash2-Q4_K_M.gguf --revision 2d9571f8ce46e151f61c6499c99dee6079e1d610 --repo-type model --local-dir models/Qwen3.8-27B-DFlash2-GGUF` to get the DFlash2 draft model. (inferred, check the README)",
  "Run `podman pull ghcr.io/gufo-org/toolboxes/gufo-runtime:latest` to fetch the Gufo runtime image.",
  "Run the `podman run` command from the README Quickstart with `--device /dev/kfd`, `--device /dev/dri`, `-p 8080:8080`, and `gufo serve --host 0.0.0.0 --port 8080 llm` using the two model paths and `--speculative dflash2`.",
  "Run `curl http://localhost:8080/v1/chat/completions -H \"Content-Type: application/json\" -d '{\"model\": \"Qwen3.8-27B-UD-Q8_K_XL\", \"messages\": [{\"role\": \"user\", \"content\": \"Say something\"}]}'` from a second terminal to test it. (inferred, check the README)"
 ],
 "agent_prompt": "Using the gufo repo, help me serve the Qwen3.8 27B model on my Strix Halo machine at <host path to models folder>. Follow the Quickstart in the README, then send one chat request to http://localhost:8080/v1/chat/completions. Report the HTTP status and the reply text, and confirm the container logs show no ROCm device error.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Gufo targets AMD Strix Halo (gfx1151) on Linux x86-64; the README does not claim support for other GPUs, and rootless Podman may need group and SELinux fixes described in the README before the GPU is visible.",
 "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": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/gufo-org-gufo/serve-qwen-27b-local-api/",
 "md": "https://dedupedai.com/use-cases/gufo-org-gufo/serve-qwen-27b-local-api/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--serve-qwen-27b-local-api.json",
 "api_version": "v1"
}
