QW

Luau Qwen3 4B FIM v0.1

QwenGGUF by TorpedoSoftwareUpdated 2025-12-06
Download on Hugging Face
Parameters4.02B
Context256K
Layers36
Architectureqwen3
Smallest quant2.1 GB
Quick answer

Luau Qwen3 4B FIM v0.1 needs about 5.0 GB of memory at Q6_K (a 3.3 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 7 quants, from 2.1 GB (Q3_K_XL) to 8.1 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 4.8 GB.

Luau Qwen3 4B FIM v0.1 – a fine‑tuned code completion model

Luau Qwen3 4B FIM v0.1 is a 4.02 B parameter model fine‑tuned for Luau code completion. It inherits the 262,144 token context length of Qwen3‑4B‑Instruct‑2507 and is released under apache‑2.0.

Good at

  • Luau code autocompletion
  • FIM style code generation
  • Long‑context code understanding

Limits

  • No vision support
  • Requires 8 k context for memory estimates
  • No non‑thinking mode needed

Best for

  • VSCode autocomplete extensions
  • In‑IDE code assistants
  • Code completion in chat APIs

Who it’s for. Developers and tools that need accurate Luau code suggestions. It is ideal for integration into IDEs or chat‑based code assistants.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_XL2.1 GB 3.8 GB
Fits Get file →
Q4_K_XL2.5 GB 4.3 GB
Fits Get file →
Q5_K_XL2.9 GB 4.6 GB
Fits Get file →
Q6_K3.3 GB 5.0 GB
Fits Get file →
Q6_K_XL3.7 GB 5.4 GB
Fits Get file →
Q8_04.3 GB 6.0 GB
Fits Get file →
BF168.1 GB 9.8 GB
Too big Get file →

For 8 GB VRAM, use Q4_K_XL (file size 2.55 GB, memory 4.3 GB). For 12 GB VRAM, Q6_K_XL (3.66 GB, 5.4 GB) offers better precision. If memory is limited, Q3_K_XL (2.13 GB, 3.8 GB) is the smallest option.

What GPU do you need for Luau Qwen3 4B FIM v0.1?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: the best quant that fits is Q3_K_XL (2.1 GB file, about 3.8 GB in use).
  • 6 GB VRAM: the best quant that fits is Q8_0 (4.3 GB file, about 6.0 GB in use).
  • 8 GB VRAM: the best quant that fits is Q8_0 (4.3 GB file, about 6.0 GB in use).
  • 12 GB VRAM: the best quant that fits is BF16 (8.1 GB file, about 9.8 GB in use).

Which Luau Qwen3 4B FIM v0.1 quant should you choose?

Q6_K (3.3 GB) is the middle option in this repository. Very close to the original quality for most uses, at a clearly larger size than 4-bit.

If memory is tight, the smallest file is Q3_K_XL at 2.1 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen3
Parameters4.02B
Layers36
Trained context262,144 tokens
KV cache (fp16)144 KB per token

Source

Quantized byTorpedoSoftware
FamilyQwen
Licenseapache-2.0
Downloads (HF)869
Last updated2025-12-06

Frequently asked questions about Luau Qwen3 4B FIM v0.1

How much VRAM does Luau Qwen3 4B FIM v0.1 need?

About 5.0 GB at Q6_K with an 8K context window. That is the 3.3 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Luau Qwen3 4B FIM v0.1 on an 8 GB GPU?

Yes, with Q8_0: the 4.3 GB file needs about 6.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Luau Qwen3 4B FIM v0.1 GGUF?

It depends on the quant: Q3_K_XL is 2.1 GB, Q4_K_XL is 2.5 GB, Q5_K_XL is 2.9 GB, Q6_K is 3.3 GB, Q6_K_XL is 3.7 GB, Q8_0 is 4.3 GB and 1 more.

What context length does Luau Qwen3 4B FIM v0.1 support?

The GGUF header lists a trained context length of 262,144 tokens (256K). The KV cache grows with the context you use: about 1.2 GB at 8K and 4.8 GB at 32K.

Where can I download Luau Qwen3 4B FIM v0.1 GGUF?

The files are on Hugging Face in the TorpedoSoftware/Luau-Qwen3-4B-FIM-v0.1 repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Luau Qwen3 4B FIM v0.1 use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run Luau Qwen3 4B FIM v0.1 on 8 GB VRAM?

Yes, using the Q4_K_XL quantization which requires about 4.3 GB of VRAM at 8 k context.

Does this model support vision tasks?

No, it is a text‑only language model.

What license applies to this model?

The model is released under the apache‑2.0 license.

Other GGUFs of Qwen3-4B-Instruct-2507

Similar models

Browse all →

More from TorpedoSoftware

All by TorpedoSoftware →

More Qwen models

All Qwen →

Other small models

All small models →