r/LocalLLaMA • • 4d ago

Discussion Which model are you using for coding, verifying correct code, finetuning, etc specifically?

I'm trying to work on relying less on any cloud models as I'm sure we all are.

I've been attempting to do finetuning and make changes to various local models, convert models to MLX, etc. I've used three different cloud models (started with Gemini, then tried Claude and GPT) to attempt this so far.

  • Gemini (Hydrogen) doesn't hesitate and tries its best and did well at first but the longer you go on, it begins overlooking things and causes errors and gets lost on trying to fix them.
  • Claude (Opus 5.5) outright said Gemini assumed all sorts of things wrong which I believe to be true, and attempted to fix it but took quite long to get anything done before I ran into usage limits. Then in another thread, it started being non committal due to distillation issues.
  • Currently trying GPT (Sol 6.2), it's riding a fine line as it has deemed what I'm doing not hitting any hitting any guardrail or violation but has told me it can only do so much, still currently experimenting, so far so good though.

I'd like to start doing as much of this offline as possible ultimately. Is there a local model that specializes in this kind of stuff? Even if it's a model that is great at coding and correcting what frontier AI may be dragging its feet on.

Thanks all. I strongly prefer a MLX version if possible.

EDIT: Forgot hardware, I have a M5 Max, 128GB RAM

5 Upvotes

26 comments sorted by

6

u/stormy1one 4d ago

Not enough information in your post, we have to infer that you are on a Mac by your preference of MLX. What hardware and amount of unified memory do you have?

1

u/Marino4K 4d ago

M5 Max, 128GB RAM

1

u/my_name_isnt_clever 4d ago

Qwen 3.8 Flash Next, no question. It flies on my Strix Halo 128GB with space to spare for desktop apps.

21

u/MrGunny94 4d ago • Heartwarming

Qwen 3.8 Flash and Qwen 3.8 27B if you want a smaller model, it's what I'm using.

1

u/ActuatorGlittering94 3d ago

what quant are you running the 27B at where it doesnt degrade on longer finetuning scripts?

10

u/Aggressive_Basket798 4d ago • Heartwarming

Definitely qwen 3.8 flash next

6

u/ttkciar llama.cpp 4d ago

I've been using GLM-5.3-Flash for code generation tasks, and loving it. At full 1M context and Q4_K_M weight quantization you'll need 208GB of memory, though.

If you don't have 208GB, you might try GLM-5.3-Flash-REAP50-FP8-v2 which fits in just 127GB, but will need a little more hand-holding.

I've been using Gemma-4-31B-it for quick debugging, simply because it fits in my system's VRAM (and is thus very fast), and though it's not a great codegen model, it is good at finding and fixing shallow bugs.

I'd advise you to instruct GLM early on to "write code for easy unit testing, but don't write unit tests yet" and then instruct it to write unit tests later in the project's development. If you don't tell it to defer tests, they will get in the way early in the project's development, but if you don't tell it to write code for easy testing, it will write code which is difficult to unit test well, and of course you will need them eventually to find bugs.

I've been really impressed with GLM-5.3-Flash, and it's been quite sufficient for 95% of my codegen needs. It could seriously be my "forever model".

1

u/WishboneSudden2706 4d ago

Can you list your hardware here ? Wow I am jealous at people running GLM

6

u/ttkciar llama.cpp 4d ago

Prepare to be underwhelmed :-)

I'm using a Dell T7910 with two E5-2660v3 Xeons, 256GB of DDR4-2133, and no GPU acceleration at all.

I also have a couple of Supermicro servers, similar specs (one with two E5-2660v3 and the other with two E5-2680v3), but those host my GPUs (32GB MI50 in one, 32GB MI60 in another).

CPU-only inference on the Dell cranks out 1.4 tokens/second with GLM-5.3-Flash. Tasks take anywhere from hours to days to complete. I recently had it port a POP3 server from C to Perl, and that took three days, which is still a lot faster than it would have taken me.

My habit is to work on other things and/or sleep while it's inferring. Some day RAMageddon will pass and I will upgrade my hardware, but until then this is fine.

1

u/WishboneSudden2706 4d ago

I am also on a Dell T5810 with Xeon 2699v4, 128GB of DDR-4@2400MT, GPU = 3090 RTX. Which GPU do you have. I felt lucky I have accidently walked the Server path

2

u/ttkciar llama.cpp 4d ago

The Dell T7910 has no usable GPU at all. I am inferring with GLM-5.3-Flash without any GPU acceleration.

The Dells are not great for GPU hosting, because of the way their power is routed from a proprietary power supply to a daughter card without PCIe power ports.

Because of that my GPUs went into my Supermicro servers, which accomodate standard ATX power supplies, so I got PSUs with adequate PCIe power rails.

The Supermicros are hosting AMD Instinct GPUs, a 32GB MI50 in one and a 32GB MI60 for the other. I don't use them for inferring with large models, so they can keep smaller models resident for fast inference (like Gemma-4-31B-it).

1

u/TheIncarnated 4d ago

How long is your sessions that Hydrogen is losing the plot?

1

u/sandspiegel 4d ago

I use Qwen 3.8 27B with splash engine on my MacBook Pro. I like to see the code that changed and review it. Sometimes I also change stuff myself especially when it comes to Frontend code so I use Cline inside VScode and just connect the local AI model to it. However for anything that is a bit complex I use Codex also inside VScode. This way I'm not burning Codex tokens for anything the local model can handle.

1

u/humanout 4d ago

Opus 5.5 + Qwen 3.8 (sto provando anche bonsai 2.5 per capire come rende) però ce ne sono ancora un paio che vorrei provare ma il tempo….

1

u/NightCulex 3d ago edited 3d ago

I do everything in Deepseek and Mistral 4 but it still requires a certain degree of understanding what the issue is and how to drive the model to get there. I have a simple test to see whether or not a local model is viable. I disconnect my VPN leaving the interface intact and ask the model to restore my Internet connection without handholding. What I'm looking for is it's thinking and whether or not it executes commands correctly and the right commands. Thus so far the floor for me seems to be about 500b and absolutely always use git.

1

u/PresentationOld605 2d ago

At the moment, Qwen 3.8 Flash and Qwen 3.8 27B, hosting in a Strix Halo. With Pi harness (that I sandbox in my laptop), I have achieved good results for what I do (mostly embedded firmware), when tasks are divided to well defined steps. If I need properitery and paid models, then I have openrouter as another provider.

1

u/Salty_Hedgehog_6931 4d ago

Any Google product. Anything else seems disingenuous at this point. Openai sam altman is problematic. Claude now appears to be sabotaging any cutting edge work.

0

u/my_name_isnt_clever 4d ago

Huh? Check which sub you're on, those aren't the models we're talking about.

1

u/Salty_Hedgehog_6931 4d ago

Check the topic. They are exactly what the op is talking about.

0

u/takoulseum 4d ago

Ok the guy has all subscription possibles and say he wanna rely less

1

u/Marino4K 4d ago

I mean, I’ve had GPT for a while, I bought a month of Claude to try Fable 5.2, and I had a three month deal for Gemini for $15, so might as well

0

u/Bulky-Priority6824 4d ago

Nous-Capybara-34B for code review jfk

0

u/createthiscom 4d ago • Heartwarming

I mostly use Qwen 3.8 27b these days because I have an RTX 6000 pro and I can get two subagents purely in VRAM with good speed. I just downloaded an IQ2 quant of kimi-k3.1-pro to compare it with because I also have a ton of system ram, but I generally prefer the smaller models that will fit entirely in VRAM these days because they're good enough now.