Model reference · open weights

qwen3_vit.qwen3_vl

Embeddings timm Image embed 1 build Open weights 501 dl/mo

qwen3_vit.qwen3_vl is an open-weight embedding model from timm. qwen3_vit_306m.qwen3_vl_4b (FP32) weighs 611 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • qwen3_vit.qwen3_vl is a 305M parameter image feature extraction model created by timm, extracted from Qwen3-VL-4B-Instruct.
  • It functions as a classifier-ready wrapper with average pooling and affine-free LayerNorm, supporting rectangular inputs where dimensions are divisible by 16.
  • The model uses GELU-tanh MLPs, learned absolute positions, and axial 2D RoPE, and is licensed under Apache 2.0.

Summary of the timm/qwen3_vit_306m.qwen3_vl_4b model card, 2026-10-01

What it is

Released bytimm
Released2026-09-10
Parameters305M
VRAM611 MB for the weights

What it runs on

Memory and cards for qwen3_vit_306m.qwen3_vl_4b (FP32)

611 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What timm says about qwen3_vit.qwen3_vl

Read the model card

A Qwen ViT image feature model extracted from Qwen3-VL-4B-Instruct. This is the classifier-ready wrapper with average pooling and affine-free LayerNorm over the encoder features.

NOTE: This checkpoint is a native timm remap of the original vision weights, with no additional training. It contains no language-model weights or trained image-classification head.

Model Notes

  • Image inputs repeat one frame across the original temporal patch kernel. The temporal Conv3d weights are summed into a Conv2d for this image-only implementation.
  • The backbone uses GELU-tanh MLPs, learned absolute positions and axial 2D RoPE. Absolute positions are interpolated for the input grid; RoPE is regenerated at each size.
  • The timm transforms normalize RGB pixels using mean=(0.5, 0.5, 0.5) and std=(0.5, 0.5, 0.5). Rectangular inputs are supported. Each image dimension must be divisible by 16; any variant using the 2×2 merger requires divisibility by 32.
  • forward_features() returns raw, unnormalized NHWC backbone features. The _enc variant returns spatially merged tokens from forward(); the classifier variant returns pooled image embeddings until a classification head is added.
  • Qwen3-VL DeepStack projectors are omitted. Intermediate backbone features are available through forward_intermediates() or features_only=True.

Model Details

  • Model Type: Image Feature Encoder
  • Model Stats:
    • Params (M): 305.5
    • GMACs: 959.1
    • Activations (M): 2607.0
    • Image size: 768 x 768
  • Source revision: ebb281ec70b05090aa6165b016eac8ec08e71b17
  • License source: https://raw.githubusercontent.com/QwenLM/Qwen3-VL/96588727e44c78b25ba03ea03b8e12f7e64fd0da/LICENSE
  • Original: https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct
  • License: Apache 2.0
  • Backbone width: 1024
  • Papers:
    • Qwen3-VL Technical Report: https://arxiv.org/abs/2511.21631
    • PyTorch Image Models: https://github.com/huggingface/pytorch-image-models

Model Usage

Image Features

import torch
import timm
from PIL import Image

model = timm.create_model('hf-hub:timm/qwen3_vit_306m.qwen3_vl_4b', pretrained=True).eval()
data_config = timm.data.resolve_model_data_config(model)
transform = timm.data.create_transform(**data_config, is_training=False)
image = Image.open('image.jpg').convert('RGB')
x = transform(image).unsqueeze(0)

with torch.inference_mode():
    output = model(x)  # (1, 1024): image embeddings
    features = model.forward_features(x)  # (1, 48, 48, 1024): raw backbone features (NHWC)

Intermediate Feature Maps

with torch.inference_mode():
    maps = model.forward_intermediates(
        x, indices=3, output_fmt='NCHW', intermediates_only=True,
    )
for feature_map in maps:
    print(feature_map.shape)  # (1, 1024, 48, 48)

Classification Fine-tuning

model = timm.create_model(
    'hf-hub:timm/qwen3_vit_306m.qwen3_vl_4b', pretrained=True, num_classes=45,
)
logits = model(x)  # (1, 45)

The new linear head is randomly initialized and must be trained on your target dataset.

Citation

@article{Qwen3-VL,
  title={Qwen3-VL Technical Report},
  author={Bai, Shuai and others},
  journal={arXiv preprint arXiv:2511.21631},
  year={2025}
}
@misc{rw2019timm,
  author = {Ross Wightman},
  title = {PyTorch Image Models},
  year = {2019},
  publisher = {GitHub},
  journal = {GitHub repository},
  doi = {10.5281/zenodo.4414861},
  howpublished = {\url{https://github.com/huggingface/pytorch-image-models}}
}

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How embedding models work

Your textsentence / documentEncodermaps meaningVectorlist of numbersAn embedding model turns text into a vector, so similar meanings sit close together, which is the basis of search and RAG.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms