Repository navigation
refactor(tools)!: rename ninfer-switch to llm-switch - #2
Merged
Merged
Conversation
The switcher also runs llama.cpp and Strata servers from the profile overlay, so the name now says what it manages: one local LLM server on the GPU at a time. Commands and the profile format are unchanged, and the docs describe which servers fit (any that takes --host and --port and answers GET /health). BREAKING CHANGE: the command is llm-switch; its overlay and override variables are LLM_SWITCH_PROFILES, LLM_SWITCH_MODELS and LLM_SWITCH_PORT (were NINFER_PROFILES, NINFER_MODELS and NINFER_PORT); its state file and log moved from %LOCALAPPDATA%\ninfer to %LOCALAPPDATA%\llm-switch. Rename the variables, and move switch-state.json to keep the remembered profile.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tools/windows/ninfer-switchtollm-switch. It runs NInfer, llama.cpp and Strata profiles, one server on the GPU at a time, so the old name undersold it.LLM_SWITCH_PROFILES,LLM_SWITCH_MODELSandLLM_SWITCH_PORT. State and log move to%LOCALAPPDATA%\llm-switch; NInfer's owndevice-profiles.jsonstays in%LOCALAPPDATA%\ninfer.Test plan
llm-switch listandllm-switch statuswith the local overlay show every profile and read the moved state and logstatus, andkillfreed the portllm-switch.ps1