[Bug] Makes my writing slower
Bug Report
Description
When Cotabby is enabled and im using the tabby-2-pro pack, ehich is almost required to make the quality high enough, the writing experience, no matter what app im writing in, gets laggy, often if im writing fast it usally gives me delay where the keystroke comes in a hughe batch a second after i paused the writing.
Also, would love to be able to either. upload an dictonary my self, or be able to use the built in dictionary that comes with Mac OS to add a smother an better experience when im writing in swedish🙂 Keep up the good work, this is gonna be awsome when it enter stable version
Steps to Reproduce
- open an app or window with an input field and start writing
- write quick and long text, and then jsut wait for the text to popin
Expected Behavior
That the chars and keystrokes are inputed as usally without any delay and the potential correction checks comes after the text is renderd on my screen
Environment
- Cotabby version: 0.6.0 Beta
- macOS version: 26.5.1
- Mac model: Mac Mini
- Chip: M2
- Memory: 16 GB
Submitted via tabby feedback form
Hey,
I'm answering because I'm typing fast too and I've noticed the same behavior on my end. So I started tickling with what impact the speed of the inference: the engine! I don't know how fluent you are with LLM and so on, but I would suggest to use a local endpoint instead of the "open source". After all tabby-pro is "Gemma-4-E4B" with a q6 quantization. Concerning the endpoint, what you want to use on Mac side is Ollama or LM Studio. Both support MLX quantized models. The inference speed should be much faster. For instance, I'm currently testing "Gemma-4-26B-A4B" which is totally overkill for an autocomplete but it's smart and when caching starts to kick, it's quite fast and let met write at a proper speed. One thing to note, I'm on M5 so the neural engine was upgraded to improve the time to first token.
I'm using LMStudio with developper options and with the local server enabled (http://localhost:1234), it's better suited for testing models.
My next test will be with a smaller model, I'm thinking about an ibm-granite which is especially trained for fill in the middle tasks. One that should be particularly efficient is "granite-4.0-h-micro"(3B) or "tiny"(7B). The "h" means that it runs with a hybrid Mamba 2 architecture, which is faster than standard transformer-based models.
I ditched cotypist for good because cotabby has much more potential but it needs to be tuned, with default settings, it does not shine compared to other tools. But with proper tuning, it blows up the competition.
Anyway, let us (the global "us", I'm not part of the project) know if using an mlx backend improved your situation.
Ok, I just saw that you are the owner of the repository 😅 Anyway, take my words as a feedback from someone trying to use it daily and going deep for it (power user maybe?).
From my little experience, an option for your issue could be to use an mlx-based backend if you want to improve the speed or directly use the mlx API from Apple when a M chip is identified.
Thank you very much for creating this tool, again it has a lot of potential!
Ok, I just saw that you are the owner of the repository 😅 Anyway, take my words as a feedback from someone trying to use it daily and going deep for it (power user maybe?).
From my little experience, an option for your issue could be to use an mlx-based backend if you want to improve the speed or directly use the mlx API from Apple when a M chip is identified.
Thank you very much for creating this tool, again it has a lot of potential!
Hi @seb-paoli These github issues are actually created by other Cotabby users through cotabby.app/feedback and just show up under my account using my GitHub token haha.
Thank you so much for these insights though!! :)
You're welcome ! =) Ah ok, sounds good! Does the OP receive notifications from Github ?
I don't know Swift very much, I'm a software engineer using C++ and Python, but willing to learn. So now that my daily driver is on MacOS, I'm more and more wanting to learn Swift to contribute. I can help by answering some tickets where I'm pertinent to do so.
@seb-paoli OP won't explicitly receive github notifications but that would be a good idea to add to the form, github username to be subscribed!
Also yes, feel absolutely free to help out with answering tickets or fixing issues, it means a lot!! : )