Qwen 3.6 Built an iOS App Locally Then Crashed. Gemma 4 QAT Took Over

18 July 2026 · 5:41 · 290 views · by Vikramjit Sarkar

Watch on YouTubeSubscribe for the next test

This is the moment it actually worked — a local LLM built a working iOS to-do app through Xcode on my MacBook Pro M5 (32GB), fully offline. I add tasks, save them, tick them off — it's real, and it looks genuinely nice.

Key numbers from this test

And you can see that the swap memory is at 27 GB right now.
And also , the memory is about 30 GB right now .
It's good and it took about 1 minute .
It took 1 minute to give the answer because there is a lot of pressure on the system.
We had already mentioned it in LM Studio and it generated tokens very quickly, at a rate of 23.04 tokens per second.
It's a 16GB model and I added it to the Xcode because, remember , in Apple's YouTube video they were using JMA 4.

Measured on my own machines (quoted from the video).

Chapters

  1. 0:00The warm-up trick + the to-do app is generated
  2. 0:25First look — the app came out clean
  3. 0:33Testing it live: adding tasks, saving, completing
  4. 1:10Local LLM now can code on your Mac
  5. 1:36The big prompt: add a full drawing feature (Apple's iPad demo idea)
  6. 2:08"If it can do this, I'm convinced" — an iOS app by local AI
  7. 2:37Same context error AGAIN — troubleshooting live
  8. 3:15Reload, context to 120K, fingers crossed
  9. 3:45Red memory, 10.9 tok/s under full system pressure
  10. 4:25Qwen fails → loading Gemma 4 26B QAT (what is a QAT model?)
  11. 4:5423 tok/s on a 16GB model — added to Xcode
  12. 5:07It started working — Gemma 4 takes over

0:00 The warm-up trick + the to-do app is generated

Okay. I'm excited. It took a few minutes, not a few minutes, a minute or two at most, you know, after closing the OBX it generated a contest. So yeah, I think you have to warm up the token or you have to, you know, increase the context window. And you can see that the swap memory is at 27 GB right now. It does n't matter. He created the application. This is good. He already created a to-do list app

0:25 First look — the app came out clean

. And you can see that it looks very good. And let me try it. Okay, it says it has already created a

0:33 Testing it live: adding tasks, saving, completing

List view to show all the tasks. Add a task by tapping the plus button . Tap the plus button to open a sheet. Toggle between completing and deleting. Okay, let's try it. Okay, then enter a new task. Try saving. We are going to introduce a new task. Buy and store. Okay, now let me see how ... Oh, great. You can see if you click here, he has done it. Oh, good. Okay guys, now you can program

1:10 Local LLM now can code on your Mac

Locally on your Mac. I'm going to try out more cool features in this Tudu app. Okay, especially in the YouTube video where they showed themselves as if they were making an iPad app, you know, an iPad drawing app. I'm going to try to integrate a drawing function into this task app , okay? On the to-do list . Let's see if it works or not. Okay, let's try it. Okay.

1:36 The big prompt: add a full drawing feature (Apple's iPad demo idea)

We will add another function when you press the plus button: create a new task or draw when you press draw. A new page opens that functions as a drawing application. Okay, guys,

2:08 "If it can do this, I'm convinced" — an iOS app by local AI

This is a big sign, and if you can do this, I'll be convinced that it can be programmed locally, and guys, you're making an app, an iOS app for iPhone, in local AI. Let's give it a try, guys. Okay , let's try it. I'm going to press Enter. Press Intro and it's time. It has started and it's time to stop recording. If you also enjoy this video, and you like it, please give it a like and subscribe, guys. Once again,

2:37 Same context error AGAIN — troubleshooting live

We run into the same problem. Okay , with this context, uh, it says, you know , internal conversation exit error uh blah blah blah blah blah blah blah blah. Let's try to see why this is happening. There it is . It's ready. We're going to send a loud text message again. The model is ready. The model is already there. And it's taking too long to load this time. As you can see, I have a 120k context window here. Let me stop her. Let me expel her. Okay. Let me load the model again. Go to the server. Yes.

3:15 Reload, context to 120K, fingers crossed

Expel. Let's reload the model . 3.5. Okay. Carry. It's loading. Okay. Again, I have sent the request. It says it's being processed . Should I say hello here? Hello. It is being processed here as well. Well, well. This has been wrong. Do you see it? It's

3:45 Red memory, 10.9 tok/s under full system pressure

As if we've already reached the red memory. I think it will be slower this time because we're using two indicators at the same time: one for export and one from here. And also , the memory is about 30 GB right now . Okay, it gave 10.9 tokens. It's good and it took about 1 minute . It took 1 minute to give the answer because there is a lot of pressure on the system. So I think it's fine. It usually gives 40 tokens or something for a second. I'm going to stop the OB study and we'll wait for it to finish. Okay. The last model failed

4:25 Qwen fails → loading Gemma 4 26B QAT (what is a QAT model?)

And I've already loaded JMA 4 26p A4B QA. What is a Q model? Well, I was talking about the QA model, right? The Q model is a training version with quantization. Okay. Okay, so what does it do ? Their goal is to maintain quality close to the B60 model. Very good. We had already mentioned it in LM Studio and it generated tokens very quickly, at a rate of 23.04 tokens per second. It's a 16GB model and I

4:54 23 tok/s on a 16GB model — added to Xcode

Added it to the Xcode because, remember , in Apple's YouTube video they were using JMA 4. Well, I think it's started working. Look, it started working

5:07 It started working — Gemma 4 takes over

At Apple. They were using JMA 4 in Xcode, but they were using a MacBook Pro Max M5 with 120GB or maybe 64GB of RAM, and this is only 32GB of unified memory. Very good. But I think it works. It worked last time too. Good. But with some contextual reasoning or whatever, whatever the reason, it couldn't generate twice. But in JMA 4, it already started working. And I believe we can now rely on local AI through coding.

Related tests