Skip to content

Track LFM3 support in MLNode and Gonka PoC #2194

Closed @ilyar opened 2026-10-31 15:48 UTC 1 comment Updated 2026-10-31 15:52 UTC

LFM3-1.7B cannot start in MLNode through the vLLM Transformers backend, so its Gonka PoC compatibility cannot yet be tested

Observed behaviour

Tested LiquidAI/LFM3-1.7B at this pinned revision on a Tesla T4, FP16, with MLNode 4.0.0-sigma2

ghcr.io/gonka-ai/mlnode@sha256:e45bae55f11c9d72291dd075af781d5b7cf0b1bdb030fb611a937c8d7685b496
vLLM 0.30.0
Transformers 5.17.0
PyTorch 2.13.0+cu130
gonka-poc 0.2.0

The stock runtime fails while processing the model configuration with KeyError: 'conv' in standardize_rope_params

An isolated experiment using Transformers 5.22.0 advances beyond configuration loading, then vLLM rejects the convolution layer

ValueError: Layer 0 (conv) does not dispatch through the Transformers attention interface and vLLM has no other way to handle it.

No Gonka or model source was modified, the dependency override was experimental and is not an official MLNode qualification result

Reproduction

Download the pinned model snapshot including its custom Python files, mount it read-only at /models/lfm3, then send this payload to POST /api/v1/inference/up/async

{
  "model": "/models/lfm3",
  "dtype": "float16",
  "additional_args": [
    "--tensor-parallel-size", "1",
    "--max-num-seqs", "1",
    "--gpu-memory-utilization", "0.26",
    "--max-model-len", "1024",
    "--max-num-batched-tokens", "1024",
    "--served-model-name", "LiquidAI/LFM3-1.7B",
    "--enforce-eager",
    "--model-impl", "transformers",
    "--trust-remote-code"
  ]
}

The original experiment reserved other GPU memory to leave approximately 4 GiB free before startup, neither failure was an OOM and this reservation is not required to explain the unsupported-layer error

Required behaviour and integration scope

Track a supported path for LFM3 inference and Gonka PoC once a native vLLM implementation is available, startup or direct Transformers generation alone must not count as PoC support

The same checkpoint generated complete short responses through standalone Transformers 5.22.0 in FP16 within the experimental 4 GiB free-memory budget, that result does not qualify MLNode or PoC

Upstream work already exists in the LFM3 support issue and the width-7 convolution PR, this issue tracks the Gonka integration boundary rather than duplicating the native model implementation

The integration needs verification of convolution-state isolation, repeated and reordered nonce checks, and inference after PoC, these are proposed acceptance requirements and have not yet been executed for LFM3


💬 Comments (1)

@ilyar commented 2026-10-31 15:52 UTC

Sorry, this is my personal experiment; I created it by accident


🔄 Auto-synced from Issue #2194 every hour.