# What model to choose for local linux copilot on 72g VRAM — retained record

> Retained reddit record from reddit:LocalLLaMA.

Canonical: https://highsignal.app/data/records/584ea86382ab9e64

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:LocalLLaMA)  published 2026-06-04 03:40 ingested 2026-06-04 09:47

[original source ↗](https://www.reddit.com/r/LocalLLaMA/comments/1twc3m3/what_model_to_choose_for_local_linux_copilot_on/)

## retained text



```
<!-- SC_OFF --><div class="md"><p>I'm a complete Linux noob that has been speeding through the terminal using chat gpt to get get everything set up. It's awesome. Now I want to transfer this Linux troubleshooting workflow entirely local. I'm thinking qwen 3.6 27b but maybe that's overkill? It runs fine at q8 on my system but still. A copilot is something you want to be as small as possible at the same time it's something you don't want to deal with any hallucination or stupidity from. What model would you guys choose for this task.? Was also slightly considering IBM granite family just to not use Qwen and Gemma for everything. </p> <p>Project Overview</p> <p>You want to build a terminal-native Linux copilot that runs entirely on your workstation and acts like an experienced Fedora/Linux administrator sitting next to you.</p> <p>This is not a coding agent, autonomous agent, productivity assistant, or ChatGPT clone.</p> <p>The goal is:</p> <p>Open a terminal, type copilot, stay in a continuous conversation, and get high-quality Linux administration, troubleshooting, and workflow guidance tailored to your machine.</p> <p>What You Want the Copilot to Do</p> <p>Troubleshooting</p> <p>You want to be able to paste:</p> <p>journalctl -xe systemctl status service dmesg dnf output </p> <p>and have the copilot:</p> <p>Identify likely causes</p> <p>Rank hypotheses</p> <p>Suggest diagnostic commands</p> <p>Explain reasoning</p> <p>Recommend fixes</p> <p>Avoid hallucinating package names or commands</p> <p>Linux Expertise</p> <p>You want expertise in:</p> <p>Fedora</p> <p>DNF</p> <p>systemd</p> <p>SELinux</p> <p>Podman</p> <p>NVIDIA drivers</p> <p>Kernel modules</p> <p>Filesystems</p> <p>Networking</p> <p>Storage</p> <p>Bash</p> <p>Workflow Optimization</p> <p>You want the copilot to function like an experienced Linux power user.</p> <p>Examples:</p> <p>Suggest better directory structures</p> <p>Suggest Bash aliases</p> <p>Suggest Bash functions</p> <p>Suggest automation opportunities</p> <p>Review shell workflows</p> <p>Recommend Linux best practices</p> <p>Driver and Hardware Guidance</p> <p>You want it to know:</p> <p>Where drivers come from</p> <p>RPM Fusion procedures</p> <p>NVIDIA installation methods</p> <p>Fedora-specific hardware recommendations</p> <p>and remain current as documentation changes.</p> <p>What You Do NOT Want</p> <p>You do not want:</p> <p>Autonomous agents</p> <p>Multi-agent systems</p> <p>GitHub automation</p> <p>Browser automation</p> <p>OpenHands</p> <p>AutoGPT-style workflows</p> <p>Productivity coaching</p> <p>Task management</p> <p>Calendar integration</p> <p>Those are outside the scope of the project.</p> <p>Core Architecture</p> <p>The system currently looks like:</p> <p>Terminal ↓ copilot ↓ Retriever ↓ Knowledge Base ↓ Qwen 3.6 27B ↓ Answer </p> <p>Model Choice</p> <p>Current preferred model:</p> <p>Qwen 3.6 27B</p> <p>Current preferred quant:</p> <p>Bartowski Q6_K</p> <p>Reason:</p> <p>Strong reasoning</p> <p>Strong troubleshooting ability</p> <p>Excellent balance of quality and speed</p> <p>Fits comfortably on your hardware</p> <p>Inference Engine</p> <p>Use:</p> <p>Specifically:</p> <p>llama-server </p> <p>running locally.</p> <p>This becomes the reasoning backend.</p> <p>User Interface</p> <p>You do not want a browser-first experience.</p> <p>Instead:</p> <p>copilot </p> <p>launches an interactive session.</p> <p>Example:</p> <p>Fedora Copilot Ready &gt; </p> <p>Then:</p> <p>&gt; Why is Podman failing? &gt; Here's the journal output... &gt; Here's the container config... </p> <p>The conversation continues naturally.</p> <p>Single Command Design</p> <p>You explicitly prefer:</p> <p>copilot </p> <p>instead of:</p> <p>asklinux askbash askselinux asknetwork </p> <p>Reason:</p> <p>The model and retrieval system should determine which expertise is relevant.</p> <p>You should not have to route questions manually.</p> <p>Machine Awareness</p> <p>One major requirement is:</p> <p>Qwen should already know my computer.</p> <p>You do not want to repeatedly explain:</p> <p>Hardware</p> <p>OS version</p> <p>Shell</p> <p>GPU</p> <p>RAM</p> <p>every session.</p> <p>Permanent Machine Profile</p> <p>At initialization:</p> <p>copilot --initialize </p> <p>the system collects information such as:</p> <p>uname -a cat /etc/os-release lscpu free -h lsblk nvidia-smi </p> <p>and creates a persistent profile.</p> <p>Example:</p> <p>Fedora 44 Ryzen 9900X 64GB RAM RTX Pro 5000 72GB bash DNF Podman </p> <p>This profile is injected automatically into future sessions.</p> <p>Documentation Retrieval</p> <p>This became the most important enhancement.</p> <p>Rather than relying solely on model knowledge, the copilot should retrieve current documentation.</p> <p>Documentation Sources</p> <p>Primary sources:</p> <p>documentation</p> <p>Fedora Wiki</p> <p>documentation</p> <p>Wiki</p> <p>documentation</p> <p>documentation</p> <p>documentation</p> <p>NVIDIA Linux documentation</p> <p>Why Retrieval Matters</p> <p>Without retrieval:</p> <p>Qwen remembers Linux knowledge. </p> <p>With retrieval:</p> <p>Qwen reasons using current Linux documentation. </p> <p>This improves:</p> <p>Accuracy</p> <p>Fedora-specific guidance</p> <p>Driver installation advice</p> <p>Package recommendations</p> <p>Version-specific troubleshooting</p> <p>Personal Knowledge Base</p> <p>You also want the system to learn your preferred workflows.</p> <p>Suggested structure:</p> <p>~/copilot-knowledge/ </p> <p>Example files:</p> <p>aliases.md bash_functions.md filesystem_layout.md networking.md hardware.md troubleshooting.md </p> <p>The retriever indexes these alongside Linux documentation.</p> <p>Retrieval Engine</p> <p>Preferred choice:</p> <p>Role:</p> <p>Question ↓ Search documentation ↓ Retrieve relevant chunks ↓ Send to Qwen ↓ Generate answer </p> <p>Session Memory</p> <p>The copilot should maintain conversation history.</p> <p>Example:</p> <p>&gt; Podman won't start. &gt; Here's the journal. &gt; Here's the container config. &gt; Here's the SELinux audit log. </p> <p>The model keeps context throughout the troubleshooting session.</p> <p>Future Diagnostic Commands</p> <p>Potential built-in commands:</p> <p>diagnose system health gpu status disk status memory status </p> <p>These would automatically run Linux commands and provide the results to Qwen.</p> <p>Not autonomous action—just automated information gathering.</p> <p>Final Vision</p> <p>The completed system is:</p> <p>Terminal ↓ copilot ↓ Persistent Conversation ↓ Machine Profile ↓ Documentation Retrieval ↓ Personal Knowledge Base ↓ Qwen 3.6 27B (Bartowski Q6_K) ↓ Linux Expertise </p> <p>The result is a specialized Fedora/Linux copilot that:</p> <p>Understands your machine</p> <p>Understands your preferred workflows</p> <p>Has access to current Linux documentation</p> <p>Maintains conversational context</p> <p>Excels at troubleshooting and system administration</p> <p>Lives entirely inside the terminal through a single copilot command.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/JayoTree"> /u/JayoTree </a> <br /> <span><a href="https://www.reddit.com/r/LocalLLaMA/comments/1twc3m3/what_model_to_choose_for_local_linux_copilot_on/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/LocalLLaMA/comments/1twc3m3/what_model_to_choose_for_local_linux_copilot_on/">[comments]</a></span>
```



document fetched 2026-06-04 09:47
