LET'S GO! Cursor using local 🤗 transformers models!
@joao_gante3.4K followers
33,536 views
11 Comments
Comments from the original post on X (Twitter)

@joao_gante
We've iterated on our local `transformers serve`, a server with `transformers` backend, and it now supports more advanced requests -- including the requests from Cursor. Testing new models, quantization methods, KV caches, decoding methods, (...) should be much easier now 🫶
6 likes

@joao_gante
👉5-minute instructions to replicate this demo: (this link will die at some point, and the following will work: 👉The PR where it happened:
7 likes

@theinsiderzclub
If this works as well as it sounds, it’s really going to make so many things possible.
1 like

@Tech_Support87
Spent much of the day working with LM Studio and Ollama, Mistral 7b. They are getting a lot better. I'm doing a serious build for local AI next month.
1 like

@KevinRossi
This has been possible for a while but Cursor still makes calls out to their servers. What happens if you turn off your internet connection?
1 like

@joao_gante
To go fully offline, a different IDE has to be used :(
1 like

@TheZachMueller
How well does this fully work? IIRC last I checked @cursor_ai strongly advised against doing self-hosted models? @srush_nlp has that changed?

@dsirokyai
@ClementDelangue Does that mean I can run cursor fully offline, and point at a local endpoint on my network?

@joao_gante
@ClementDelangue Sadly no -- Cursor makes requests through their server (i.e. your request + codebase -> cursor server -> llm -> cursor server -> your cursor app) The best would be to use a different IDE.
1 like

@d0rc
It’s either any open-ai compatible endpoint and token+model settings and no data being sent to cursor’s servers or nothing

@joao_gante
sadly data still goes to cursor :( see my comment here
1 like