Repository navigation
feat: add local BitWiser Qwen Q4/IQ1 pilot with tool and TTFT testing - #2
Draft
modelpath-dev wants to merge 2 commits into
Draft
modelpath-dev wants to merge 2 commits into
modelpath-dev wants to merge 2 commits into
Conversation
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.
BitWiser now provides a localhost Qwen3.5-4B pilot with resident Q4_K_M and IQ1_S models, editable prompts, tool-call inspection, and sequential comparison runs. Both artifacts are prepared independently from the same verified BF16 GGUF using BitWiser. The UI displays streamed output, meaningful TTFT, completed tool-call time, and explicit empty/truncated-output errors. Test tools are displayed and never executed.
The launcher uses Metal on Apple Silicon, binds all services to loopback, refuses occupied ports, and stops its child processes on exit. Start/stop command files and a local setup guide are included. The resident llama-server uses the native tool-aware template with thinking disabled. The SSE benchmark excludes role-only events from TTFT and retains stream and tool-contract failures.
Validation: eight unit tests, Python compilation, shell syntax, TypeScript/Vite build, and diff checks passed. Both local health checks and the UI streaming API were exercised against real models. Six synthetic cases were run without prompt caching, then repeated twice with caching enabled. Q4 passed the structural and exact tool checks. IQ1 failed every required tool call and produced empty or degraded text; it is not suitable for production in this form. These tests are synthetic and do not establish OSVI production conversational quality.
Under-200ms TTFT was not consistently achieved on the Apple M5. Local testing comes first; this draft does not deploy to AWS, OSVI stage, or production. Cloud validation remains deferred. See docs/local-pilot.md for reproduction and limitations.