Skip to content

Microcontrollers run LLM of 289 million parameters and diffusion model: TinyML advances

Manu Ramalho
Manu Ramalho

Two projects demonstrate generative AI running on microcontrollers: a diffusion model and an LLM of 289 million parameters in the NXP FRDM-MCXN947.

Loading audio…
Macro de um chip microcontrolador em placa verde, com poucas trilhas de cobre iluminadas em laranja e fundo desfocado

Key takeaways

  • Dois projetos rodam IA generativa em microcontroladores: um LLM de 289 milhões de parâmetros e um modelo de difusão.
  • O LLM de 289 milhões de parâmetros foi executado no microcontrolador NXP FRDM-MCXN947.
  • O TinyML permite rodar modelos de IA localmente em dispositivos de baixo consumo e baixo custo.
  • As demonstrações ainda não resolvem limitações de memória, velocidade e consumo de energia para uso comercial.

Two independent projects demonstrate that IA generative fits in microcontrollers. One of them placed a diffusion model — the same family used to generate images from text — to run on a microcontroller; the other made an LLM of 289 million parameters work on the NXP FRDM-MCXN947, NXP development board. The report is from OpenSourceForU.

What TinyML shows with AI in microcontrollers

According to the publication, there are two distinct demonstrations: one of a diffusion model and another of an LLM of 289 million parameters, both in microcontroller hardware — the lowest range of embedded computing, below boards such as Raspberry Pi and Jetson kits. In the second case, the target is a development plate focused on prototyping. It is not GPU, nor dedicated data center accelerator: it is the type of chip that today controls sensors, engines and meters.

Why an LLM of 289 million parameters matters to TinyML

To calibrate the scale: border models work with hundreds of billions of parameters, and the range of 7 billion has become a reference for running on PCs. The 289 million remain in the territory of small models — large enough to generate coherent text in specific tasks, small enough to fit in scarce memory. It is the same logic as recent local inference initiatives, such as Hugging Face's Microduck, a $399 hardware to run LLM without cloud, but a downstep in hardware capability.

TinyML: why AI in microcontrollers is now advancing

TinyML — machine learning on very low consumption devices — had been the domain of small classifiers: keyword detection, gesture recognition, predictive maintenance. Advances in quantization, compression techniques and toolchains for microcontrollers expanded this ceiling. The effect is that tasks previously necessarily hosted in the cloud begin to fit into the device itself, with less latency and no connectivity cost.

What TinyML Switches to Developers in Brazil

In the field, the appeal is concrete: industrial sensors, agricultural equipment, meters and health devices that operate where connectivity is bad or expensive. Running the model on the hardware itself means immediate response and data that does not leave the device — a sensitive point for those who need to deal with LGPD. For the Brazilian developer, the path also got cheaper: development boards of this class cost a fraction of the price of GPU kits, which allows you to try TinyML without cloud infrastructure.

What TinyML Demos Don't Solve

The numbers that decide to adopt are missing. The publication does not detail latency by token, power consumption, final model size after quantization or output quality — items that define whether the approach serves a commercial product or just a demonstration. Dissemination models, in particular, are expensive computationally: generating an image in a microcontroller tends to involve small resolutions and long waiting time, and this has not yet been publicly quantified. The correct reading is a viability milestone, not a ready product.

Frequently Asked Questions about TinyML and AI in microcontrollers

What is TinyML?

It is the execution of machine learning models on microcontrollers and very low consumption devices, without relying on cloud. The focus is specific tasks, with lean models and local inference.

What's the difference between running AI on a microcontroller and a PC?

Microcontrollers have much more limited memory and processing, which requires compressed and quantized models. In return, they consume little energy, cost little, and work offline.

Can this be used in commercial products?

Depends on the application. The demonstrations prove technical feasibility, but latency, consumption and output quality have not yet been released — essential data to decide a scale implementation.

Share:
Manu Ramalho

Written by

Manu Ramalho

Sou Manu Ramalho, publicitária com 16 anos de estrada conectando marcas e pessoas. Como fundadora da EME Marketing Digital, sempre busquei o marketing estratégico para gerar conexões autênticas. Aqui, mergulho na fronteira da inteligência artificial como analista de tendências. Meu foco é traduzir a complexidade de NLP, novos modelos de linguagem e papers acadêmicos para o mundo real, sempre com um olhar atento à regulamentação, ética e aos impactos sociais que essa tecnologia imprime na nossa sociedade.

Related articles