/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
Qwen3.5-35B-A3B
Библиотека
gguf
Опубликована
22 мар 2026

Qwen3.5-35B-A3B-IQK-RPi5-16GB

Генерация текстаТекст → текст8 профессий

Квантованная версия Qwen3.5-35B-A3B для локальной генерации текста, диалога и задач помощника на Raspberry Pi 5 с 16 ГБ памяти.

126скачиваний за 30 дней1лайквеса обновлены28 мар 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

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

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Это квантованный GGUF-чекпойнт модели Qwen3.5-35B-A3B, подготовленный mtrpires для локального запуска на Raspberry Pi 5 с 16 ГБ памяти. Базовая модель Alibaba — архитектура Mixture of Experts с 35 млрд параметров всего и примерно 3,3 млрд активных на токен. Для инференса используется ik_llama.cpp; смешанная схема IQK сохраняет повышенную точность для слоёв внимания и общих экспертов, сильнее сжимая маршрутизируемые эксперты. Размер файла — около 11,38 ГиБ, заявленный расход памяти — около 12,5 ГБ.

Модель предназначена для генерации текста и диалога в локальном помощнике: она может помогать с кодом, обработкой документов и вызовами инструментов. Автор приводит результаты тестирования на Raspberry Pi 5: около 30,85 токена/с при обработке промпта и 4,53 токена/с при генерации. Карточка указывает контексты калибровки, связанные с чатом, кодом и вызовами инструментов, но не перечисляет отдельные поддерживаемые языки сверх меток en и pt.

Для практического запуска на Raspberry Pi 5 рекомендуется окно контекста 16 тыс. токенов и активное охлаждение при длительной нагрузке; устройство с 8 ГБ памяти не подходит. Форматы IQ4_KS и IQ2_KS специфичны для ik_llama.cpp, поэтому модель не будет корректно работать в стандартных llama.cpp и Ollama. Репозиторий распространяется по лицензии Apache-2.0.

Сценарии применения

  • локальный диалог с ИИ-помощником на Raspberry Pi 5
  • генерация и дополнение программного кода
  • обработка документов локальным помощником
  • вызов инструментов в локальном агентном сценарии

Ограничения

Для запуска требуется примерно 12,5 ГБ памяти, поэтому модель не подходит для Raspberry Pi 5 с 8 ГБ; на рекомендуемой конфигурации генерация составляет около 4,5 токена/с. IQK-квантизации требуют ik_llama.cpp и несовместимы со стандартными llama.cpp и Ollama; практический контекст на Raspberry Pi 5 ограничен примерно 16 тыс. токенов.

Для каких профессий подходит8

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Qwen3.5-35B-A3B-IQK-RPi5-16GB — Custom IQK Quantization for Raspberry Pi 5 (16GB)

Quantized by: mtrpires
Base model: Qwen/Qwen3.5-35B-A3B
Runtime: ik_llama.cpp
Target hardware: Raspberry Pi 5 16GB (Cortex-A76)


Why this quantization exists

The Qwen3.5-35B-A3B is a Mixture-of-Experts model with 35B total parameters but only 3.3B active per token (256 experts, 8 routed + 1 shared active). This architecture makes it remarkably efficient at inference time — in benchmarks it surpasses the Qwen3-235B-A22B despite activating far fewer parameters, including 69.2% on SWE-bench Verified.

The problem: every standard quantization of this model exceeds 15GB on disk, requiring ~17GB+ of RAM. This puts it out of reach for the Raspberry Pi 5 16GB using conventional tools.

This quantization uses a mixed IQK recipe — asymmetric quantization that exploits the MoE architecture's properties: attention and shared expert layers (always active, quality-critical) are kept at high precision, while routed expert layers (rarely co-activated, quality-resilient) are compressed aggressively using ARM NEON-optimized IQK kernels from ik_llama.cpp.

The result: 11.38GB on disk, ~12.5GB in RAM — fits comfortably in 16GB.


Quantization recipe

Tensor groupQuantizationRationale
Attention layers (all)q8_0Always active per token — critical for reasoning
Shared experts (always active)q8_0Backbone of MoE — activated every token
Routed experts, layers 0–7iq4_ksEarly layers more sensitive — IQK NEON optimized
Routed experts, layers 8+iq2_ksBulk of model — rarely co-activated — IQK NEON optimized
Token embeddings / outputq6_KUsed every token — good quality/size balance

The IQ4_KS and IQ2_KS quantization types are exclusive to ik_llama.cpp and have hand-written ARM NEON assembly kernels that make them faster than Q4_K_M on Cortex-A76 despite the lower bit depth.

Source: Q8_0 GGUF from bartowski
Imatrix: ubergarm (calibrated on chat, coding and long-context tool-calling data)


Benchmark results

Tested on Raspberry Pi 5 16GB with ik_llama.cpp (HEAD, March 2026), -t 3 --threads-batch 4 -c 16384 --mlock:

TestResult
Prompt processing (pp512)30.85 ± 0.03 t/s
Token generation (tg50)4.53 ± 0.00 t/s
Model size11.38 GiB
RAM usage (with 16K context)~13GB
Context window used16,384 tokens

4.5 t/s is comfortable reading speed for a personal assistant workload. Prompt processing benefits from --threads-batch 4 (+26% vs 3 threads).

ARM NEON status: __ARM_FEATURE_DOTPROD confirmed active. The HAVE_FANCY_SIMD is NOT defined warning in ik_llama.cpp output refers exclusively to AVX-512 (x86) and can be safely ignored on ARM.


How to run

Requirements

  • Raspberry Pi 5 16GB (8GB will not work — insufficient RAM)
  • ik_llama.cpp compiled from source
  • Active cooling recommended for sustained inference

Compile ik_llama.cpp on the Pi

git clone https://github.com/ikawrakow/ik_llama.cpp --depth=1
cd ik_llama.cpp
cmake -B build \
  -DGGML_NATIVE=ON \
  -DGGML_BLAS=ON \
  -DGGML_BLAS_VENDOR=OpenBLAS \
  -DGGML_LTO=ON \
  -DBUILD_SHARED_LIBS=OFF \
  -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release -j4

Note: -DGGML_NATIVE=ON automatically detects Cortex-A76 capabilities (ARM NEON, dot product, fp16). The explicit -march= flags are not needed.

Run as server

./build/bin/llama-server \
  -m Qwen3.5-35B-A3B-IQK-RPi5-16GB.gguf \
  --host 127.0.0.1 \
  --port 8080 \
  -t 3 \
  --threads-batch 4 \
  -c 16384 \
  --mlock \
  --log-disable

Run benchmark

./build/bin/llama-bench \
  -m Qwen3.5-35B-A3B-IQK-RPi5-16GB.gguf \
  -t 3 -n 50

OpenAI-compatible API

The server exposes an OpenAI-compatible API at http://localhost:8080/v1. Compatible with any client that supports OpenAI's chat completions endpoint.


How this quantization was generated

The quantization was produced on a MacBook Pro M4 Pro (48GB) using ik_llama.cpp compiled CPU-only (Metal is not supported by ik_llama.cpp).

llama-quantize \
  --imatrix imatrix-Qwen3.5-35B-A3B-BF16.dat \
  --allow-requantize \
  --attn-q-type q8_0 \
  --attn-k-type q8_0 \
  --attn-v-type q8_0 \
  --attn-qkv-type q8_0 \
  --attn-output-type q8_0 \
  --token-embedding-type q6_K \
  --output-tensor-type q6_K \
  --custom-q "ffn_down_shexp=q8_0,ffn_gate_shexp=q8_0,ffn_up_shexp=q8_0" \
  --custom-q "blk\.[0-7]\.ffn_down_exps=iq4_ks,blk\.[0-7]\.ffn_gate_exps=iq4_ks,blk\.[0-7]\.ffn_up_exps=iq4_ks" \
  --custom-q "ffn_down_exps=iq2_ks,ffn_gate_exps=iq2_ks,ffn_up_exps=iq2_ks" \
  source-Q8_0.gguf \
  output.gguf \
  iq2_ks \
  12

Source GGUF: bartowski Q8_0 (~48GB) chosen because the original BF16 weights (~72GB) exceed the MacBook's 48GB RAM, and re-quantizing from Q8_0 introduces less than 0.05 PPL degradation vs. starting from BF16.


Known limitations

  • Context window: 16K is the practical limit on 16GB RPi5 with this model. 32K is possible but leaves very little system RAM headroom.
  • Speed: 4.5 t/s generation is usable for a personal assistant but not for interactive applications requiring fast responses.
  • IQK quants: IQ2_KS and IQ4_KS are ik_llama.cpp exclusive — this GGUF will not load correctly in standard llama.cpp or Ollama.
  • 8GB RPi5: Will not work. The model requires ~12.5GB RAM at 16K context.

Compared to standard quantizations

QuantizationFile sizeEst. RAMFits 16GB RPi5?Source
Q3_K_S (bartowski)15.3 GB~17.5 GB❌Standard
Q3_K_M (bartowski)16.4 GB~18.9 GB❌Standard
UD-IQ4_XS (Unsloth)17.5 GB~20 GB❌Standard
Q4_K_M (bartowski)22.0 GB~25 GB❌Standard
IQK-RPi5 (this)11.38 GB~12.5 GB✅Custom

Use case context

This quantization was developed as part of a hybrid AI personal assistant running on a Raspberry Pi 5, where the local model acts as a privacy-preserving executor for tool use, code generation, and document processing — with cloud models (Gemini Flash/Pro) handling planning and review. The 35B-A3B was chosen over the 9B dense model specifically for its superior reasoning and coding capabilities despite the memory constraints.


Credits


License

This quantization inherits the base model license: Apache 2.0. See Qwen3.5-35B-A3B for details.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

llama.cpp

Можно запустить

Подбираем GPU…

Ревизия весов
13da7dc

0 моделей