[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GAV8PFNAT2V3W2VDP1Z0EA":3,"skill-same:01M6GAV8PFNAT2V3W2VDP1Z0EA":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6GAV8PFNAT2V3W2VDP1Z0EA","windows-inference-server",null,"Deploy and troubleshoot ML inference servers (vLLM, llama.cpp) on Windows with CUDA. Covers community fork wheels, MSYS path translation workarounds, uv cache management across drives, and multi-drive venv setup.","zapabob\u002FSkills","zapabob","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130830376?v=4","01M6DBMYZAGRTFQDSQYW3W764P","峯岸 亮","01M6DBMZ3GKDSJ01NZ9XTZD7JD",2,"MIT","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002F8f\u002F8fd5c94cd473e151aa666e553939677b6083deb12c83036127896d4784f4cebb\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"windows inference server","windows","server","inference","uv","venv","with","llama.cpp","multi","across","translation","cuda","community","vLLM","cache","mlops","cpp","ml","deploy","troubleshoot","2026-11-10 10:12:30",false,"---\r\nname: windows-inference-server\r\ndescription: Deploy and troubleshoot ML inference servers (vLLM, llama.cpp) on Windows with CUDA. Covers community fork wheels, MSYS path translation workarounds, uv cache management across drives, and multi-drive venv setup.\r\nversion: \"1.0\"\r\nauthor: \"Hermes Agent\"\r\nlicense: \"MIT\"\r\nplatforms: [\"windows\"]\r\nmetadata:\r\n  hermes:\r\n    tags: [\"windows\", \"vllm\", \"inference\", \"cuda\", \"ml-serving\"]\r\n    category: \"mlops\"\r\n---\r\n\r\n# Windows ML Inference Server Deployment\r\n\r\nGuide for running LLM inference servers natively on Windows with CUDA.\r\n\r\n## vLLM on Windows\r\n\r\n**vLLM does NOT officially support Windows.** Use the community-maintained [SystemPanic\u002Fvllm-windows](https:\u002F\u002Fgithub.com\u002FSystemPanic\u002Fvllm-windows) fork for native Windows + CUDA. See [references\u002Fwindows-deployment.md](references\u002Fwindows-deployment.md) for step-by-step installation.\r\n\r\n## Native llama.cpp First\r\n\r\nBefore attempting vLLM on Windows, inspect installed native runtimes and reuse a CUDA-enabled `llama-server` when present. On consumer Blackwell GPUs, an installed TurboQuant build may be the most reliable path, while native vLLM often requires a community wheel and tightly matched Python\u002FCUDA\u002FPyTorch versions. Prefer an already installed runtime plus an existing local GGUF over downloading a new model during the same repair session.\r\n\r\nFor Hermes Agent integrations, keep the model server context at **65536 or higher** when the configured agent context requires it. Validate the actual loaded context from the llama-server log (`n_ctx_slot = 65536` or greater), not just from the launcher argument.\r\n\r\n### GPU memory and multimodal projector policy\r\n\r\nIf a text-only GGUF has an accompanying `mmproj-*.gguf`, do not load the projector unless vision\u002Fmultimodal input is required. The projector can consume additional VRAM and make an otherwise successful full-GPU load fail. Start with `--n-gpu-layers 99`, then reduce layers only if the model still cannot allocate. Use `--ctx-size 65536`, Flash Attention, and TurboQuant KV types when the installed build supports them.\r\n\r\n### Environment contamination\r\n\r\nExisting `LLAMA_ARG_*` and TurboQuant environment variables can override or conflict with command-line tuning. For a controlled probe, unset cache\u002Fmode variables such as `LLAMA_ARG_CACHE_TYPE_K`, `LLAMA_ARG_CACHE_TYPE_V`, `LLAMA_TURBOQUANT_CACHE_TYPE_K`, `LLAMA_TURBOQUANT_CACHE_TYPE_V`, `LLAMA_TURBOQUANT_MODE`, and related triality\u002FSO8 variables before launching; then pass the intended values explicitly.\r\n\r\n### Common Pitfalls\r\n\r\n### MSYS Path Translation\r\nWhen running `uv`\u002F`pip` from git-bash (MSYS), paths like `\u002Fh\u002F` get translated to `C:\\h\\` instead of `H:\\`.\r\n- **Fix:** `export MSYS_NO_PATHCONV=1` before running, or use native Windows paths with double backslashes\r\n- **Alternative:** Wrap in `cmd.exe \u002Fc \"...\"`\r\n\r\n### uv Cache \u002F Temp Overflow on C:\r\nuv's wheel extraction temp (`C:\\Users\\\u003Cuser>\\AppData\\Local\\uv\\cache\\.tmp*`) fills C: even when the target venv is on another drive.\r\n- **Fix:** Set all three: `TMP`, `TEMP`, `UV_CACHE_DIR` to the same non-C: drive\r\n- Background processes do NOT inherit bash `export` — use cmd.exe for reliable env var propagation\r\n\r\n### CUDA_HOME Not Found\r\nSet the environment variable before installing:\r\n```bash\r\nexport CUDA_HOME=\"C:\\\\Program Files\\\\NVIDIA GPU Computing Toolkit\\\\CUDA\\\\v13.3\"\r\n```\r\n\r\n### Python Version Mismatch\r\nSystemPanic vLLM wheels are cp312 (Python 3.12) only. Use `py -3.12 -m venv` to create a 3.12 venv.\r\n\r\n## Observed 16GB VRAM ceiling with this build\u002Fmodel\r\n\r\nThis build\u002Fversion requires explicit offload and can fail when the requested GPU workload exceeds memory. On this host, `-ngl 99` failed at model load with `cudaMalloc failed: out of memory` while requesting ~14506 MiB, even though `nvidia-smi` showed nominal free VRAM. Do not treat `nvidia-smi` free space as a load guarantee on this runtime; lower `-ngl` until the model loads.\r\n\r\nCurrent local runtime under test:\r\n- `llama-server.exe` build `b10264-81b08be15`\r\n- Model: Qwen3.6-35B-A3B IQ3_M GGUF (~15.4GB)\r\n- Working profile: `-ngl 8`, `-c 65536`, `-ctk q4_0 -ctv q4_0`, `-fa on`, `--no-mmap`, `-t 6 -b 2560 -ub 1024`, `--jinja`, `--spec-type ngram-simple --spec-draft-n-max 4 --spec-draft-n-min 1`\r\n- Endpoint: `http:\u002F\u002F127.0.0.1:8080`\r\n\r\nKnown failure modes:\r\n- `-ngl 16` → `CUDA_Host buffer` allocation failure.\r\n- Long generation with the above spec\u002Fdecode settings can hang under this build; short completion works.\r\n- `--no-mlock` is not supported by this build (`invalid argument`).\r\n\r\nKV cache env override pitfall:\r\nEnvironment variables like `LLAMA_ARG_CACHE_TYPE_K\u002FV` may already be set. The runtime may warn that command-line cache options overwrite env, but the presence of conflicting env can still affect behavior. For deterministic tuning, unset them in the launch environment even when passing CLI cache flags.\r\n\r\n## TTS direction: FishStudio\u002FFish Audio cute female voice\r\n\r\nUser preference moved to FishStudio\u002FFish Audio for a cute female Japanese voice. Treat this as the next TTS path to wire into Hermes, ahead of further local voice-engine tuning.\r\n\r\nCurrent `config.yaml` state on this host:\r\n- `tts.provider: fishaudio` is set\r\n- `tts.fishaudio:` block is partially present (keys: `base_url`, `voice`, `model`) — but the plugin reads `tts.fishaudio` OR `tts.fish_audio` (see `core.py` `_fish_config()`). The recognized keys are:\r\n  - `base_url` (default: `https:\u002F\u002Fapi.fish.audio`)\r\n  - `voice` \u002F `reference_id` (Fish Audio reference_id of the desired voice)\r\n  - `model` (e.g., `s2.1-pro-free`, `fish-speech`, etc.)\r\n  - `format` \u002F `output_format` (`mp3`, `wav`, `opus`, `pcm`)\r\n  - `speed` (0.5–2.0)\r\n  - `mp3_bitrate` (64, 128, 192)\r\n  - `sample_rate` (optional)\r\n  - `timeout` (default 120s)\r\n\r\n**Mandatory wiring order:**\r\n1. Add `FISH_AUDIO_API_KEY` to `.env` only; do not hardcode secrets in `config.yaml`.\r\n2. Ensure `tts.fishaudio` (or `tts.fish_audio`) in `config.yaml` contains at minimum `voice` (reference_id) and `model`.\r\n3. Verify Fish Audio TTS with a direct HTTP call before changing Hermes runtime behavior.\r\n4. If Hermes doesn't read the config keys, call Fish Audio `\u002Fv1\u002Ftts` directly from a small script and feed the resulting audio path to `text_to_speech` or voice delivery.\r\n\r\nSee `references\u002Ffishaudio-hermes-tts.md` for the exact config shape, voice-selection guidance, and direct-call fallback pattern.\r\n\r\n**Session learnings (2026-07-23):**\r\n- Fish Audio plugin (`plugins\u002Ffish_audio_tts\u002F`) exists and works: it registers a `TTSProvider` and two tools (`fish_audio_tts_status`, `fish_audio_tts_synthesize`).\r\n- Config keys used by the plugin are `base_url`, `voice`\u002F`reference_id`, `model`, `format`\u002F`output_format`, `speed`, `mp3_bitrate`, `sample_rate`, `timeout`.\r\n- The API key is read from env `FISH_AUDIO_API_KEY` (or `FISH_API_KEY`), **not** from config.yaml.\r\n- Tested: `status_payload()` returns `available: True` and endpoint `https:\u002F\u002Fapi.fish.audio\u002Fv1\u002Ftts`.\r\n- **Blocker:** Fish Audio returns HTTP 402 \"Insufficient API credit\". The user must add credits at https:\u002F\u002Ffish.audio\u002Fapp\u002Fdevelopers before synthesis works.\r\n- Once credits are added, a direct call like `synthesize_text(text=\"はくあだよ。\", voice=\"r417e25bd1a4f4084939a135cb1b7c832\")` should succeed and return an MP3 path.\r\n\r\n\r\n### Hermes Desktop model picker \u002F config mismatch on Windows\r\n\r\n`C:\\Users\\\u003Cuser>\\.hermes\\config.yaml` is the runtime config. Repo checkouts such as `\u003Crepo>\\.hermes\\config.yaml` are NOT read by the running Desktop app. If provider\u002Fmodel changes appear to have no effect on `\u002Fmodel`, verify the active file and change it there, or use `hermes config set ...` from a terminal. After changing provider\u002Fmodel config, restart Desktop if it was already running; the picker can stay stale until a fresh launch reads the updated config.\r\n\r\nFor a local OpenAI-compatible `llama-server`, set `model.provider: openai`, `model.base_url: http:\u002F\u002F127.0.0.1:\u003Cport>\u002Fv1`, and `model.default` to the backend model id. Also set `model.context_length` to the server-verified context length from `\u002Fv1\u002Fmodels`, not the launcher argument.\r\n\r\nFor an installed CUDA\u002FTurboQuant llama-server and a text GGUF on a 16GB RTX 5060 Ti, start with:\r\n\r\n```text\r\n--ctx-size 65536 --n-gpu-layers 99 --flash-attn on\r\n--cache-type-k turbo4 --cache-type-v turbo4\r\n--parallel 1 --batch-size 1024 --ubatch-size 256\r\n--jinja --cont-batching\r\n```\r\n\r\nUse `--spec-type ngram-mod` only when the model\u002Fruntime supports it; do not assume a model with an MTP head unless its model card confirms MTP. Verify with `\u002Fv1\u002Fmodels`, a short `\u002Fv1\u002Fchat\u002Fcompletions` request, the server log, and `nvidia-smi`. A successful profile should report the requested context in the log and leave enough VRAM headroom for the target workload.\r\n\r\n## Current live runtime on this host (verified)\r\n\r\n- Binary: `%USERPROFILE%\\AppData\\Local\\Programs\\llama-turboquant\\bin\\llama-server.exe`\r\n- Build: turboquant-enabled CUDA runtime\r\n- Model: `Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive-IQ3_M.gguf` (`~15.4GB`)\r\n- Endpoint: `http:\u002F\u002F127.0.0.1:8080`\r\n- Observed stable flags: `-c 65536 -ngl 28 -fa on --no-mmap -t 8 -np 2 -b 2048 -ub 512 --cache-type-k q4_0 --cache-type-v q4_0 --spec-type ngram-mod --spec-ngram-mod-n-match 24 --spec-ngram-mod-n-min 48 --spec-ngram-mod-n-max 64 --jinja --cont-batching --batch-size 2048 --ubatch-size 512`\r\n- VRAM: RTX 5060 Ti 16GB, ~11.9GB used at rest, ~4.1GB free\r\n- \u002Fv1\u002Fmodels reports `n_ctx_train: 262144`, `n_ctx: 32768`; launcher `-c 65536` is the active context target\r\n\r\n## 65536-ctx tuning ladder: GPU KV offload + CPU residual\r\n\r\nOn 16GB VRAM, full f16 KV at 64K is usually too large. Move to KV quantization and explicit cache placement before lowering `-c`:\r\n\r\n1) Preferred fast path\r\n```text\r\n-c 65536 -ngl 99 -fa on --no-mmap\r\n--cache-type-k q4_0 --cache-type-v q4_0\r\n--cache-k gpu --cache-v gpu\r\n-t 6 -b 2560 -ub 1024\r\n```\r\n2) If VRAM still too tight, keep model fully offloaded and allow residual CPU work:\r\n```text\r\n-c 65536 -ngl 99 -fa on --no-mmap\r\n--cache-type-k q4_0 --cache-type-v q4_0\r\n--cache-k gpu --cache-v gpu\r\n-t 8 -b 2048 -ub 512\r\n```\r\n3) Fallback: reduce context only after KV\u002Fq4 is already enabled:\r\n\r\n```text\r\n-c 32768 -ngl 99 -fa on --no-mmap\r\n--cache-type-k q4_0 --cache-type-v q4_0\r\n--cache-k gpu --cache-v gpu\r\n-t 6 -b 2560 -ub 1024\r\n```\r\n\r\n**Verification gate:** after every restart, confirm `http:\u002F\u002F127.0.0.1:8080\u002Fv1\u002Fmodels`, one short completion, the server log `n_ctx_slot`, and `nvidia-smi` VRAM\u002Fresidency. A claimed speed figure is not evidence; measurable throughput and log-reported context are.\r\n\r\n## Quick Reference\r\n\r\n```bash\r\n# Multi-drive venv + install pattern\r\nexport MSYS_NO_PATHCONV=1\r\nexport UV_CACHE_DIR=\"D:\\\\uv_cache\"\r\nexport TMP=\"D:\\\\tmp\"\r\nexport TEMP=\"D:\\\\tmp\"\r\nexport CUDA_HOME=\"C:\\\\Program Files\\\\NVIDIA GPU Computing Toolkit\\\\CUDA\\\\v13.3\"\r\npy -3.12 -m venv D:\\llm-env\r\nuv pip install torch==2.11.0+cu130 --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu130 --python \"D:\\\\llm-env\\\\Scripts\\\\python.exe\"\r\n```\r\n","# Windows ML Inference Server Deployment\r\n\r\nGuide for running LLM inference servers natively on Windows with CUDA.\r\n\r\n## vLLM on Windows\r\n\r\n**vLLM does NOT officially support Windows.** Use the community-maintained [SystemPanic\u002Fvllm-windows](https:\u002F\u002Fgithub.com\u002FSystemPanic\u002Fvllm-windows) fork for native Windows + CUDA. See [references\u002Fwindows-deployment.md](references\u002Fwindows-deployment.md) for step-by-step installation.\r\n\r\n## Native llama.cpp First\r\n\r\nBefore attempting vLLM on Windows, inspect installed native runtimes and reuse a CUDA-enabled `llama-server` when present. On consumer Blackwell GPUs, an installed TurboQuant build may be the most reliable path, while native vLLM often requires a community wheel and tightly matched Python\u002FCUDA\u002FPyTorch versions. Prefer an already installed runtime plus an existing local GGUF over downloading a new model during the same repair session.\r\n\r\nFor Hermes Agent integrations, keep the model server context at **65536 or higher** when the configured agent context requires it. Validate the actual loaded context from the llama-server log (`n_ctx_slot = 65536` or greater), not just from the launcher argument.\r\n\r\n### GPU memory and multimodal projector policy\r\n\r\nIf a text-only GGUF has an accompanying `mmproj-*.gguf`, do not load the projector unless vision\u002Fmultimodal input is required. The projector can consume additional VRAM and make an otherwise successful full-GPU load fail. Start with `--n-gpu-layers 99`, then reduce layers only if the model still cannot allocate. Use `--ctx-size 65536`, Flash Attention, and TurboQuant KV types when the installed build supports them.\r\n\r\n### Environment contamination\r\n\r\nExisting `LLAMA_ARG_*` and TurboQuant environment variables can override or conflict with command-line tuning. For a controlled probe, unset cache\u002Fmode variables such as `LLAMA_ARG_CACHE_TYPE_K`, `LLAMA_ARG_CACHE_TYPE_V`, `LLAMA_TURBOQUANT_CACHE_TYPE_K`, `LLAMA_TURBOQUANT_CACHE_TYPE_V`, `LLAMA_TURBOQUANT_MODE`, and related triality\u002FSO8 variables before launching; then pass the intended values explicitly.\r\n\r\n### Common Pitfalls\r\n\r\n### MSYS Path Translation\r\nWhen running `uv`\u002F`pip` from git-bash (MSYS), paths like `\u002Fh\u002F` get translated to `C:\\h\\` instead of `H:\\`.\r\n- **Fix:** `export MSYS_NO_PATHCONV=1` before running, or use native Windows paths with double backslashes\r\n- **Alternative:** Wrap in `cmd.exe \u002Fc \"...\"`\r\n\r\n### uv Cache \u002F Temp Overflow on C:\r\nuv's wheel extraction temp (`C:\\Users\\\u003Cuser>\\AppData\\Local\\uv\\cache\\.tmp*`) fills C: even when the target venv is on another drive.\r\n- **Fix:** Set all three: `TMP`, `TEMP`, `UV_CACHE_DIR` to the same non-C: drive\r\n- Background processes do NOT inherit bash `export` — use cmd.exe for reliable env var propagation\r\n\r\n### CUDA_HOME Not Found\r\nSet the environment variable before installing:\r\n```bash\r\nexport CUDA_HOME=\"C:\\\\Program Files\\\\NVIDIA GPU Computing Toolkit\\\\CUDA\\\\v13.3\"\r\n```\r\n\r\n### Python Version Mismatch\r\nSystemPanic vLLM wheels are cp312 (Python 3.12) only. Use `py -3.12 -m venv` to create a 3.12 venv.\r\n\r\n## Observed 16GB VRAM ceiling with this build\u002Fmodel\r\n\r\nThis build\u002Fversion requires explicit offload and can fail when the requested GPU workload exceeds memory. On this host, `-ngl 99` failed at model load with `cudaMalloc failed: out of memory` while requesting ~14506 MiB, even though `nvidia-smi` showed nominal free VRAM. Do not treat `nvidia-smi` free space as a load guarantee on this runtime; lower `-ngl` until the model loads.\r\n\r\nCurrent local runtime under test:\r\n- `llama-server.exe` build `b10264-81b08be15`\r\n- Model: Qwen3.6-35B-A3B IQ3_M GGUF (~15.4GB)\r\n- Working profile: `-ngl 8`, `-c 65536`, `-ctk q4_0 -ctv q4_0`, `-fa on`, `--no-mmap`, `-t 6 -b 2560 -ub 1024`, `--jinja`, `--spec-type ngram-simple --spec-draft-n-max 4 --spec-draft-n-min 1`\r\n- Endpoint: `http:\u002F\u002F127.0.0.1:8080`\r\n\r\nKnown failure modes:\r\n- `-ngl 16` → `CUDA_Host buffer` allocation failure.\r\n- Long generation with the above spec\u002Fdecode settings can hang under this build; short completion works.\r\n- `--no-mlock` is not supported by this build (`invalid argument`).\r\n\r\nKV cache env override pitfall:\r\nEnvironment variables like `LLAMA_ARG_CACHE_TYPE_K\u002FV` may already be set. The runtime may warn that command-line cache options overwrite env, but the presence of conflicting env can still affect behavior. For deterministic tuning, unset them in the launch environment even when passing CLI cache flags.\r\n\r\n## TTS direction: FishStudio\u002FFish Audio cute female voice\r\n\r\nUser preference moved to FishStudio\u002FFish Audio for a cute female Japanese voice. Treat this as the next TTS path to wire into Hermes, ahead of further local voice-engine tuning.\r\n\r\nCurrent `config.yaml` state on this host:\r\n- `tts.provider: fishaudio` is set\r\n- `tts.fishaudio:` block is partially present (keys: `base_url`, `voice`, `model`) — but the plugin reads `tts.fishaudio` OR `tts.fish_audio` (see `core.py` `_fish_config()`). The recognized keys are:\r\n  - `base_url` (default: `https:\u002F\u002Fapi.fish.audio`)\r\n  - `voice` \u002F `reference_id` (Fish Audio reference_id of the desired voice)\r\n  - `model` (e.g., `s2.1-pro-free`, `fish-speech`, etc.)\r\n  - `format` \u002F `output_format` (`mp3`, `wav`, `opus`, `pcm`)\r\n  - `speed` (0.5–2.0)\r\n  - `mp3_bitrate` (64, 128, 192)\r\n  - `sample_rate` (optional)\r\n  - `timeout` (default 120s)\r\n\r\n**Mandatory wiring order:**\r\n1. Add `FISH_AUDIO_API_KEY` to `.env` only; do not hardcode secrets in `config.yaml`.\r\n2. Ensure `tts.fishaudio` (or `tts.fish_audio`) in `config.yaml` contains at minimum `voice` (reference_id) and `model`.\r\n3. Verify Fish Audio TTS with a direct HTTP call before changing Hermes runtime behavior.\r\n4. If Hermes doesn't read the config keys, call Fish Audio `\u002Fv1\u002Ftts` directly from a small script and feed the resulting audio path to `text_to_speech` or voice delivery.\r\n\r\nSee `references\u002Ffishaudio-hermes-tts.md` for the exact config shape, voice-selection guidance, and direct-call fallback pattern.\r\n\r\n**Session learnings (2026-07-23):**\r\n- Fish Audio plugin (`plugins\u002Ffish_audio_tts\u002F`) exists and works: it registers a `TTSProvider` and two tools (`fish_audio_tts_status`, `fish_audio_tts_synthesize`).\r\n- Config keys used by the plugin are `base_url`, `voice`\u002F`reference_id`, `model`, `format`\u002F`output_format`, `speed`, `mp3_bitrate`, `sample_rate`, `timeout`.\r\n- The API key is read from env `FISH_AUDIO_API_KEY` (or `FISH_API_KEY`), **not** from config.yaml.\r\n- Tested: `status_payload()` returns `available: True` and endpoint `https:\u002F\u002Fapi.fish.audio\u002Fv1\u002Ftts`.\r\n- **Blocker:** Fish Audio returns HTTP 402 \"Insufficient API credit\". The user must add credits at https:\u002F\u002Ffish.audio\u002Fapp\u002Fdevelopers before synthesis works.\r\n- Once credits are added, a direct call like `synthesize_text(text=\"はくあだよ。\", voice=\"r417e25bd1a4f4084939a135cb1b7c832\")` should succeed and return an MP3 path.\r\n\r\n\r\n### Hermes Desktop model picker \u002F config mismatch on Windows\r\n\r\n`C:\\Users\\\u003Cuser>\\.hermes\\config.yaml` is the runtime config. Repo checkouts such as `\u003Crepo>\\.hermes\\config.yaml` are NOT read by the running Desktop app. If provider\u002Fmodel changes appear to have no effect on `\u002Fmodel`, verify the active file and change it there, or use `hermes config set ...` from a terminal. After changing provider\u002Fmodel config, restart Desktop if it was already running; the picker can stay stale until a fresh launch reads the updated config.\r\n\r\nFor a local OpenAI-compatible `llama-server`, set `model.provider: openai`, `model.base_url: http:\u002F\u002F127.0.0.1:\u003Cport>\u002Fv1`, and `model.default` to the backend model id. Also set `model.context_length` to the server-verified context length from `\u002Fv1\u002Fmodels`, not the launcher argument.\r\n\r\nFor an installed CUDA\u002FTurboQuant llama-server and a text GGUF on a 16GB RTX 5060 Ti, start with:\r\n\r\n```text\r\n--ctx-size 65536 --n-gpu-layers 99 --flash-attn on\r\n--cache-type-k turbo4 --cache-type-v turbo4\r\n--parallel 1 --batch-size 1024 --ubatch-size 256\r\n--jinja --cont-batching\r\n```\r\n\r\nUse `--spec-type ngram-mod` only when the model\u002Fruntime supports it; do not assume a model with an MTP head unless its model card confirms MTP. Verify with `\u002Fv1\u002Fmodels`, a short `\u002Fv1\u002Fchat\u002Fcompletions` request, the server log, and `nvidia-smi`. A successful profile should report the requested context in the log and leave enough VRAM headroom for the target workload.\r\n\r\n## Current live runtime on this host (verified)\r\n\r\n- Binary: `%USERPROFILE%\\AppData\\Local\\Programs\\llama-turboquant\\bin\\llama-server.exe`\r\n- Build: turboquant-enabled CUDA runtime\r\n- Model: `Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive-IQ3_M.gguf` (`~15.4GB`)\r\n- Endpoint: `http:\u002F\u002F127.0.0.1:8080`\r\n- Observed stable flags: `-c 65536 -ngl 28 -fa on --no-mmap -t 8 -np 2 -b 2048 -ub 512 --cache-type-k q4_0 --cache-type-v q4_0 --spec-type ngram-mod --spec-ngram-mod-n-match 24 --spec-ngram-mod-n-min 48 --spec-ngram-mod-n-max 64 --jinja --cont-batching --batch-size 2048 --ubatch-size 512`\r\n- VRAM: RTX 5060 Ti 16GB, ~11.9GB used at rest, ~4.1GB free\r\n- \u002Fv1\u002Fmodels reports `n_ctx_train: 262144`, `n_ctx: 32768`; launcher `-c 65536` is the active context target\r\n\r\n## 65536-ctx tuning ladder: GPU KV offload + CPU residual\r\n\r\nOn 16GB VRAM, full f16 KV at 64K is usually too large. Move to KV quantization and explicit cache placement before lowering `-c`:\r\n\r\n1) Preferred fast path\r\n```text\r\n-c 65536 -ngl 99 -fa on --no-mmap\r\n--cache-type-k q4_0 --cache-type-v q4_0\r\n--cache-k gpu --cache-v gpu\r\n-t 6 -b 2560 -ub 1024\r\n```\r\n2) If VRAM still too tight, keep model fully offloaded and allow residual CPU work:\r\n```text\r\n-c 65536 -ngl 99 -fa on --no-mmap\r\n--cache-type-k q4_0 --cache-type-v q4_0\r\n--cache-k gpu --cache-v gpu\r\n-t 8 -b 2048 -ub 512\r\n```\r\n3) Fallback: reduce context only after KV\u002Fq4 is already enabled:\r\n\r\n```text\r\n-c 32768 -ngl 99 -fa on --no-mmap\r\n--cache-type-k q4_0 --cache-type-v q4_0\r\n--cache-k gpu --cache-v gpu\r\n-t 6 -b 2560 -ub 1024\r\n```\r\n\r\n**Verification gate:** after every restart, confirm `http:\u002F\u002F127.0.0.1:8080\u002Fv1\u002Fmodels`, one short completion, the server log `n_ctx_slot`, and `nvidia-smi` VRAM\u002Fresidency. A claimed speed figure is not evidence; measurable throughput and log-reported context are.\r\n\r\n## Quick Reference\r\n\r\n```bash\r\n# Multi-drive venv + install pattern\r\nexport MSYS_NO_PATHCONV=1\r\nexport UV_CACHE_DIR=\"D:\\\\uv_cache\"\r\nexport TMP=\"D:\\\\tmp\"\r\nexport TEMP=\"D:\\\\tmp\"\r\nexport CUDA_HOME=\"C:\\\\Program Files\\\\NVIDIA GPU Computing Toolkit\\\\CUDA\\\\v13.3\"\r\npy -3.12 -m venv D:\\llm-env\r\nuv pip install torch==2.11.0+cu130 --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu130 --python \"D:\\\\llm-env\\\\Scripts\\\\python.exe\"\r\n```\r\n",{"name":5,"author":44,"license":15,"version":45,"metadata":46,"platforms":51,"description":7},"Hermes Agent","1.0",{"hermes":47},{"tags":48,"category":34},[20,49,22,30,50],"vllm","ml-serving",[20],"main","0d1434f89f4bc6b07e9d272accd8c1013768820f","archive\u002Fskill-md-reviewed\u002Fsha256\u002F8f\u002F8fd5c94cd473e151aa666e553939677b6083deb12c83036127896d4784f4cebb",0,"https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills","https:\u002F\u002Fgithub.com\u002Fzapabob","The Open University of JAPAN　2019-now\r\n\r\nTokyo University of Science　2007-2010","2026-10-26 16:29:01",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add zapabob\u002FSkills --skill windows-inference-server",{"tool":66,"command":67},"bunx","bunx skills add zapabob\u002FSkills --skill windows-inference-server",{"tool":69,"command":70},"pnpm","pnpm dlx skills add zapabob\u002FSkills --skill windows-inference-server","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002F8f\u002F8fd5c94cd473e151aa666e553939677b6083deb12c83036127896d4784f4cebb\u002FSKILL.md",true,[],[75,99,123,146,170,185],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":39},"01M6GJTE1GESGGF9K028Y7753E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fxurl\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[77,82,83,84,85,86,20,87,88,89,90,91,92,93,94,95,52,96,97,98],"openclaw","macos","cli","github","linux","official","search","https","social-media","api","Media","hermes","hermes agent","twitter","social","via","post",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":39},"01M6GJT8S1PXQ8WPXT1HSNBWH2","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwriting-plans\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[106,107,108,109,83,110,86,111,20,112,113,114,115,116,117,118,119,120,121,122],"writing","writing plans","plans","design","review","workflow","documentation","tasks","development","code","planning","code-review","subagent","write","superpowers","paths","test-driven-development",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":39},"01M6GJST0H5X7WHBJ3BZK0DVKH","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwhisper\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[125,83,86,130,131,132,133,134,135,136,137,138,139,140,141,29,142,143,144,145],"openai","speech","multimodal","Transformers","ASR","Audio","text","model","speech recognition","use","general","multilingual","english","identification","processing","Audio Processing",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":39},"01M6GJSMRQ8EETZTYMG72P70EA","weights-and-biases","W&B: log ML experiments, sweeps, model registry, dashboards.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fweights-and-biases\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[153,83,154,155,20,156,157,158,159,160,161,137,162,163,164,165,166,167,168,169],"weights and biases","tensorflow","experiments","pytorch","visualization","registry","real-time","tuning","dashboards","experiment","log","time","Experiment Tracking","Model Registry","Hyperparameter Tuning","WandB","Real-Time Visualization",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":39},"01M6GJS19KDPRY112JTR326S06","watchers","Poll RSS, JSON APIs, and GitHub with watermark dedup.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwatchers\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[172,83,177,85,86,178,179,180,181,182,183,93,94,184,25],"terminal","automation","http","monitoring","cron","json","rss","devops",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":39},"01M6GJRHJD2A6Q830SWF9W48BC","serving-llms-vllm","vLLM: high-throughput LLM serving, OpenAI API, quantization.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fvllm\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[192,32,193,86,194,130,195,196,197,133,198,91,199,200,201,202,203,204,205,206],"llms","serving llms vllm","research","openai api","tensor","Inference Serving","Production","llm serving","High Throughput","PagedAttention","Continuous Batching","Quantization","Tensor Parallelism","high-throughput","throughput"]