My Old GV100 Now Runs a Local Coding AI
Part 2 of my GV100 build: my team in Sarawak needed a coding assistant that works with no internet, so I put OpenCode and a 27B Qwen coding model on the external Quadro GV100. Here's the full setup in WSL, the web interface, and every hurdle I hit.
By Faysal Aziz
Edited and approved by Faysal Aziz
Published

Why I wanted a coding AI on the GV100
It started with my team's project in Sarawak. They often work in remote places with no internet at all, and they asked me for a coding assistant that works offline. Cloud AI is useless out there.
The obvious answer was a heavy gaming laptop with a big GPU. Nobody wants to haul one of those into the field. What if they could keep their normal laptop and just plug in an external GPU over USB?
That's what this is. In Part 1 I got an old Quadro GV100 with 32 GB working as an external GPU on my laptop. Here in Part 2 I put it to work: OpenCode, a coding agent you can use in the terminal or the browser, running a 27-billion-parameter Qwen coding model from Hugging Face, all on the GV100. No internet needed once it's set up.
This is the full walk-through of how I set it up in one evening, including the things that went wrong. Every script and config file is in my public GitHub repo: local_setup_of_opencode_with_external_gpu.
What you need
- External GPU setup: Quadro GV100 32 GB on a T3G USB4-to-PCIe board, set up as in Part 1
- NVIDIA driver: 576.57 (CUDA 12.9). Volta needs CUDA 12.x. CUDA 13 dropped it
- Linux: WSL2, Ubuntu 24.04, with the CUDA 12.9 toolkit installed (Part 1, step 8)
- Build tools: git, cmake, ninja, gcc. All were already installed
- Model engine: llama.cpp, built from source (commit
4783b1145) - Model: Qwen3.8-27B Coder390, Q4 GGUF, 19.6 GB (Hugging Face page)
- Coding agent: OpenCode 1.19.6, terminal and web interface
- Accounts: GitHub and Hugging Face. Sign in to Hugging Face, or the download is slow
- Disk: about 45 GB free, for both model files plus the llama.cpp build
Why this model. It is a community fine-tune of the official Qwen3.8-27B, released under Apache-2.0. The author reports a LiveCodeBench score of 89 for this Q4 file, against 83 for the original Qwen in FP8. It ships ready-made llama.cpp files, so no conversion is needed. It is not an official Qwen release, and its page tags it "uncensored".
Why Q4. The GV100 has 32 GB. The 29.1 GB Q8 file leaves almost nothing for the context OpenCode needs. The 19.6 GB Q4 file leaves about 12 GB. I also downloaded the 23.2 GB Q6_K file to compare later.
How it fits together
There are three pieces, and all of them run inside WSL on the laptop.
- llama.cpp loads the model onto the GV100 and serves it at
http://127.0.0.1:8080, in the same format as OpenAI's API. - OpenCode is the coding agent. It sends your request to that local address, and it can read files, list folders and run commands in your project.
- OpenCode's web interface runs at
http://localhost:4096. Windows forwards that address from WSL, so you open it in your normal browser.
The laptop's own RTX 3070 Ti is not used. It stays free for the desktop and the displays.
Step by step
Step 1: Check both GPUs in WSL
Open a WSL terminal and run:
nvidia-smi -L
I got GPU 0: NVIDIA GeForce RTX 3070 Ti Laptop GPU and GPU 1: Quadro GV100. Note your external GPU's number, because the start script uses it. Mine is 1.
Step 2: Get the project and sign in
Clone the repo into your projects folder:
cd ~/projectsgit clone https://github.com/frozenfussion/local_setup_of_opencode_with_external_gpucd local_setup_of_opencode_with_external_gpu
Then install the Hugging Face command-line tool and sign in. Signed-in downloads are much faster.
python3 -m venv ~/.venvs/hf && ~/.venvs/hf/bin/pip install -U huggingface_hubmkdir -p ~/.local/bin && ln -sf ~/.venvs/hf/bin/hf ~/.local/bin/hfhf auth login
Choose Log in with your browser. WSL can't open a browser itself, so it prints a link and a code. Open https://hf.co/oauth/device in Windows, enter the code and approve. The terminal then says Login successful.
Step 3: Download the model
./scripts/download_model.sh q4
This downloads the 19.6 GB Q4 file into models/ and checks it against the SHA256 checksums the author publishes. Use q6 for the 23.2 GB Q6_K file, or both. I downloaded both, 42.8 GB in total, at about 100 to 150 MB/s. It took about 7 minutes, and both files came back OK.
Step 4: Build llama.cpp for the GV100
git clone https://github.com/ggml-org/llama.cppcd llama.cppcmake -B build -G Ninja -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="70;86" -DCMAKE_CUDA_COMPILER=/usr/local/cuda-12.9/bin/nvcc -DCMAKE_BUILD_TYPE=Releasecmake --build build -j 8cd ..
70 is Volta, the GV100. 86 is the laptop's RTX 30-series GPU. The build log should say Found CUDAToolkit ... 12.9.86. Mine finished all 586 steps with no errors in about 20 minutes. I kept the job count at 8 because WSL had only 15 GB of RAM.
Step 5: Start the model on the GV100
./scripts/start_model.sh
The script pins llama.cpp to GPU 1, the GV100, and loads the whole model onto it with a 65,536-token context. It took about 25 seconds, and the last line was listening on http://127.0.0.1:8080. In nvidia-smi the GV100 then showed 23,058 MiB of 32,768 MiB in use, and the RTX 3070 Ti was untouched.

If your external GPU has a different number, put that number in front of the command. For example, if it is GPU 0: GPU=0 ./scripts/start_model.sh. Leave this terminal open: closing it stops the model.
A quick test from a second terminal:
curl -s http://127.0.0.1:8080/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"local-coder","messages":[{"role":"user","content":"Write a Python function is_prime(n). Code only."}]}'
It returned a correct is_prime function. It read the prompt at 69 tokens per second and wrote the answer at 23 tokens per second.
Step 6: Install OpenCode and point it at the model
npm install -g --prefix ~/.local opencode-aimkdir -p ~/.config/opencodecp config/opencode.json ~/.config/opencode/opencode.jsonopencode models local
The --prefix ~/.local part installs OpenCode in your own folder, so no sudo password is needed. The config file adds a provider called local that points at http://127.0.0.1:8080/v1 and makes it the default model. The last command should print local/local-coder.
To test it in the terminal, go to a project folder and run opencode. I asked it to list the files in the folder. It used its own file tool and listed them correctly, which shows that tool calling works with this model.
Step 7: Start the web interface
In another WSL terminal:
./scripts/start_web.sh
It prints Web interface: http://127.0.0.1:4096/, and a warning that OPENCODE_SERVER_PASSWORD is not set. That warning is fine here, because the server only listens on this laptop.
Open http://localhost:4096 in your Windows browser. Then:
- Click the folder icon with a +, to the right of the word Projects in the left list.
- In the Search folders box, type the full path of your projects folder. Mine is
/home/aziz/projects/. - Click your project folder.
- Click New session.
- Type your question in the Ask anything… box and press Enter. The local model is already selected under the box.


I asked it to read the repo's README and write a snake game. It read the file and answered on the GV100.

Step 8: Stop everything
./scripts/stop_all.sh
This stops the web interface and the model. Afterwards nvidia-smi showed the GV100 back at 0 MiB used. Pressing Ctrl+C in each terminal does the same.
The hurdles we hit
- What you see:
gh auth statussays the GitHub token is invalid. Fix: rungh auth login -h github.com -p https -wand enter the one-time code atgithub.com/login/device. - What you see:
Failed opening a web browserduring GitHub or Hugging Face sign-in. Fix: normal in WSL. Copy the link and code it prints into your Windows browser. - What you see: no
hfcommand in WSL. Fix: installhuggingface_hubin a Python venv and linkhfinto~/.local/bin(Step 2). - What you see:
npm install -gwants sudo, because npm's global folder is/usr. Fix: install with--prefix ~/.local. No sudo needed. - What you see: llama.cpp says Flash Attention is not supported and turns it off. Fix: nothing. It's normal on Volta, and the model still writes about 23 tokens per second.
- What you see: in the web interface, New session does nothing. Fix: I had added the parent folder
~/projects, which is not a git repo. Hover the project name, click …, then Close. Then add the actual project folder. - What you see: OpenCode fails on
sudowitha terminal is required to read the password. Fix: OpenCode can't type a sudo password. Ask it for the command and run that yourself in a WSL terminal. - What you see: the fan speeds up and the GPU heats up, but Windows Task Manager's GPU graph barely moves. Fix: check usage with
nvidia-smiin WSL instead. I didn't investigate the Task Manager graph further.



Hurdles you might hit
- The GV100 isn't connected. With the card unplugged,
nvidia-smilists only GPU 0 (tested in Part 1). Runnvidia-smi -Lbefore starting the model, and plug the card in first if it's missing. - Your GPU numbers differ. The script uses GPU 1. If your external card has another number, put it in front of the command, for example
GPU=0 ./scripts/start_model.sh. - Running out of GPU memory. Q4 with a 65K context used 23 GB. I haven't tested the Q6_K file on the GV100 yet. If it runs out of memory, lower the context with
CTX=32768. - A driver update. Any NVIDIA driver from R590 onwards drops Volta. Keep 576.57, as in Part 1, and check
nvidia-smiafter Windows updates. - Opening the web interface to your network. Keep it on
127.0.0.1. Only change the hostname after settingOPENCODE_SERVER_PASSWORD. - The model itself. This is a community fine-tune, not an official Qwen release. Review its code before you run it, as you would with any AI output.
The result
- Load time: about 25 seconds
- GPU memory used: 23 GB of 32 GB, with a 65K context
- Writing speed: about 23 tokens per second
- Reading speed: about 69 tokens per second
- Tool use in OpenCode: works. It reads and lists files
- Cloud: none. Everything stays on the laptop
So yes, an old GV100 on a USB4 cable runs a proper coding assistant with no internet at all. It isn't as fast as a cloud model, but for a team working deep in Sarawak, a coding AI that works offline beats one that doesn't work at all. And the laptop's own GPU stays cool while it does.