正在加载视频...

视频加载失败

LET'S GO! Cursor using local 🤗 transformers models! You can now test ANY transformers-compatible LLM against your codebase. From hacking to production, it takes only a few minutes: anything `transformers` does, you can serve into your app 🔥 Here's a demo with Qwen3 4B:

33,081 次观看 • 11 个月前 •via X (Twitter)

11 条评论

João Gante 的头像
João Gante11 个月前

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 🫶

João Gante 的头像
João Gante11 个月前

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

Andres Franco 的头像
Andres Franco11 个月前

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

MAGA1776_PATRIOT 的头像
MAGA1776_PATRIOT11 个月前

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.

Kevin Rossi 的头像
Kevin Rossi11 个月前

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?

João Gante 的头像
João Gante11 个月前

To go fully offline, a different IDE has to be used :(

Zach Mueller 的头像
Zach Mueller11 个月前

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

David Siroky 的头像
David Siroky11 个月前

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

João Gante 的头像
João Gante11 个月前

@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.

🇺🇦🇮🇱dmitriy samsonov 的头像
🇺🇦🇮🇱dmitriy samsonov11 个月前

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

João Gante 的头像
João Gante11 个月前

sadly data still goes to cursor :( see my comment here

相关视频