Skip to content
Other

TES hot path int8

компактный мультимодальный модуль для MCU

2 min readupdated

Это исследовательский релиз «горячего пути» (быстрого модуля) из системы Tiered Episodic Specialists для устройств класса STM32H743. Модуль сочетает стем MobileNetV2-0.5 на изображениях 160 px, хешированный текстовый ключ и блок слияния SAF; его дистиллировали без разметки из SmolVLM-256M. На выходе — предсказание по изображению и текстовому контексту; качество в карточке проверено на ScienceQA, COCO-presence и POPE. Пригодится исследователям TinyML, которым нужно запускать мультимодальные модели на MCU через TFLite Micro.

Ключевые особенности

  • Полный int8-граф весит 796 800 байт на каждый seed; для TFLM указана arena 495 948 байт.
  • В релизе три seed, отдельные графы stem и fusion, а также fp32-чекпоинты PyTorch.
  • Эпизодные таблицы занимают по 32 КБ на контекст.
  • На ScienceQA test accuracy 0.671 против 0.661 у учителя; int8 сохраняет точность fp32 — 0.657.
  • На темах, которых не было в обучении, hot path близок к случайному уровню; помогает эпизод без разметки.

Что можно сделать

  • Проверить int8-граф на STM32H743-классе через TFLite Micro и сравнить с оценками Renode/QEMU.
  • Поэкспериментировать с fp32-чекпоинтами и эпизодными таблицами под разные контексты.
  • Использовать релиз как baseline для дистилляции мультимодального модуля без разметки.
  • Сравнить раздельные графы stem/fusion с полным графом по памяти и точности.

Пример

Сценарий из карточки: подать изображение 160 px и текстовый ключ, выбрать эпизодную таблицу под контекст и получить предсказание. Для нового контекста нужен эпизод без разметки — иначе на незнакомых темах качество падает почти до случайного.

ПодробнееResearch release к статье «Tiered Episodic Specialists» (AAAI-27, under review).
ScienceQA test acc 0.671 (учитель 0.661); COCO-presence val 0.651; POPE test 0.605 (учитель 0.720).
int8: 0.657 против 0.657 fp32, argmax agreement 0.94.
Инструкции: 164 073 092 на ответ по Renode и QEMU, без замеров на железе; int8-метрики — reference kernels на x86.
int8-графы в релизе работают с почти пустым эпизодом.
Discuss Telegram 0 79

Will it run?

Runs in BF16

Fits without quantisation.

  • BF16weights 0.0 GB · ready files0.5 GB
  • FP8 / INT8recommendedweights 0.0 GB0.5 GB
  • 4-bitweights 0.0 GB0.5 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2060 · BF16 — from RTX 2060

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # euhidaman/tes-hotpath-int8
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download euhidaman/tes-hotpath-int8 --local-dir ~/models/tes-hotpath-int8
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to tes-hotpath-int8
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of tes-hotpath-int8 (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

euhidaman/tes-hotpath-int8
Author
euhidaman
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

790

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments

Other

VFIG-8B

VFIG-8B