Switching between local models / Serving issues #1647
Unanswered
Novacane01
asked this question in
Q&A
Replies: 1 comment
|
is it something dumb like you don't have /v1/ in your custom endpoint URL so it won't connect to it? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
My Setup & Environment
OS: Windows 10/11 (running natively via launch-windows.ps1, no Docker).
Hardware: Intel Arc A770 (16GB VRAM).
My Binary: A custom-compiled native Windows llama-server.exe with optimized SYCL/Vulkan support, sitting in ~\vulkan\bin.
Models: Local GGUF files (Gemma 4 4B and a 26B IQ4_NL non-linear quant).
Problem
I want to serve my local models using the Cookbook UI so I can hotswap between different sizes (like flipping between 4B and 26B) on the fly with a single click, without having to manually go back to my terminal to kill and restart llama-server every time.
The Problem
When I try to click "Serve" in the Cookbook UI, the server crashes immediately with a 127 error or spits out a WinError 10061 (Connection Refused) error.

The Virtual Environment (venv) hides the system PATH
Even though ~\vulkan\bin is set up in my global Windows environment variables, the Python venv running Odysseus scrubs or isolates the path context. Because of this, shutil.which("llama-server") evaluates to None inside the app. Odysseus then assumes I don't have the binary at all and tries to force a local source-compilation fallback loop, which fails because my machine doesn't have a full C++ compiler toolchain setup (error: failed-wheel-build-for-install).
What I've Tried So Far
All reactions