#1084·llmfit

[Bug]/[Feature]: Gate model recommendations by quantization/runtime hardware compatibility

Author: MarsLuayCreated Sep 26, 2026Updated Sep 29, 2026
LabelsbugHardware Compatibility

Hi! Currently messing around with detection for models and I noticed my GPU wasn't fully compatible with some of the models that were assigned to my 3080 TI. Here's a report

Problem or motivation

llmfit can recommend a model whose quantization format fits available memory but is not actually well supported by the detected GPU architecture.

A concrete example is:

TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound

This model may fit comfortably in available RAM/VRAM and appear attractive in the recommendation scoring, but native NVFP4 execution depends on GPU architecture and runtime/kernel support.

The key missing check is:

Does the detected hardware actually support the quantization kernels required by this model?

A model fitting into memory does not necessarily mean the GPU can execute its quantization format natively or appropriately.

This can cause llmfit to recommend a lower-bit checkpoint over a compatible GGUF Q6/Q8 model even when the user's GPU does not properly support the lower-bit model's native kernels.

Proposed solution

Add explicit quantization-kernel hardware compatibility detection to the model recommendation pipeline.

Before a model becomes eligible for recommendation, llmfit should determine:

  • the model's quantization format
  • the kernel implementation required by that format
  • the runtime that would execute the model
  • the detected GPU architecture
  • CUDA compute capability where applicable
  • whether the required kernels are supported by that GPU/runtime combination
  • whether execution would be native, fallback/emulated, or unsupported

For example:

Model: Qwen3.8-27B NVFP4
GPU: RTX 3080 Ti
Architecture: Ampere
Quantization: NVFP4
Required kernel support: Blackwell-class native NVFP4
Native kernel support: no
Fallback available: maybe
Recommendation eligibility: downgraded or excluded

The compatibility check should happen before normal recommendation scoring.

A model should not receive a normal "best fit" ranking solely because it fits memory if its quantization kernels are unsupported or inappropriate for the detected hardware.

Suggested compatibility model

It may be useful to track something like:

quantization_kernel_support:
  native
  fallback
  unsupported
  unknown

For example:

NVFP4 + Blackwell + supported runtime
→ native

NVFP4 + Ampere
→ unsupported or fallback

GGUF Q6_K + llama.cpp + Ampere
→ supported

This could be backed by a compatibility table covering:

  • quantization format
  • required kernel/backend
  • runtime
  • GPU vendor
  • GPU architecture
  • minimum compute capability

Formats worth covering include:

  • NVFP4
  • MXFP4
  • FP8
  • AWQ
  • GPTQ
  • AutoRound
  • GGUF quantizations

Recommendation behavior

Native kernel compatibility should affect recommendation eligibility.

For example, on an RTX 3080 Ti:

Qwen3.8-27B NVFP4
Memory fit: yes
Native kernel support: no

Qwen3.8-27B Q6_K
Memory fit: yes
Native/runtime support: yes

The compatible Q6 model should generally rank above the NVFP4 checkpoint rather than allowing NVFP4's smaller memory footprint to dominate the score.

If a fallback implementation exists, llmfit could still show the model but mark it clearly:

Runs through fallback path
Native quantization acceleration unavailable
Expected performance may be significantly lower

Suggested tests

RTX 3080 Ti / Ampere

For a model requiring native NVFP4 kernels:

native_kernel_support = false

The model should not be treated as a normal native-compatible recommendation.

Tesla V100 / Volta

Likewise, unsupported NVFP4 kernel paths should be detected.

Blackwell GPU

A compatible NVFP4 model/runtime combination should report:

native_kernel_support = true

and remain fully eligible.

Mixed-GPU systems

Kernel compatibility should be evaluated against the GPU that will actually execute the model instead of treating the machine simply as having an NVIDIA GPU.

Alternatives considered

One alternative is to warn the user after recommending the model.

However, detecting compatibility after ranking is too late because an unsupported quantization can already displace a better compatible candidate from the top recommendation.

Another option would be to special-case NVFP4.

A more general quantization-kernel compatibility layer would be preferable because the same problem applies to current and future formats such as MXFP4, FP8, AWQ, GPTQ, and other hardware-specific quantizations.

Feature area

Fit analysis (scoring algorithm, new fit dimensions)

This may also touch hardware detection because GPU architecture and compute capability are required for the compatibility check.

Would you be willing to contribute this?

No, just suggesting.

Additional context

The main goal is to make llmfit distinguish between:

"This model fits in memory"

and:

"This model's quantization kernels are actually supported by this GPU."

Memory fit alone should not imply hardware compatibility.

Example model that exposed the issue:

TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound

The recommendation pipeline should understand whether formats like NVFP4 can actually use their intended kernels on the detected GPU architecture before allowing them to compete normally in model ranking.