Model Card for DINOv3 ViT-7B/16 (FP16 Quantized)

This is a quantized (FP16) version of dinov3-vit7b16-pretrain-sat493m.

DINOv3 is a family of versatile vision foundation models that outperforms the specialized state of the art across a broad range of settings, without fine-tuning. DINOv3 produces high-quality dense features that achieve outstanding performance on various vision tasks, significantly surpassing previous self- and weakly-supervised foundation models.

Model Details

This is a Vision Transformer ViT-7B/16 model trained following the method described in the DINOv3 paper and quantized to FP16 precision for reduced memory footprint and faster inference.

Quantization

  • Original precision: FP32
  • Quantized precision: FP16
  • Benefits: ~50% reduction in model size and memory usage, faster inference on compatible hardware

Model Description

Model Sources

Uses

The model is a vision backbone providing multi-purpose features for downstream tasks.

Direct Use

The model can be used without fine-tuning, with downstream classifiers as simple as linear layers, to obtain competitive results:

  • on image classification, using k-NN classifiers on the class token
  • on image classification, with logistic regression classifiers applied on the class token
  • on image classification, with a linear layer applied on the class token and the average of the patch tokens
  • on image retrieval using nearest neighbors
  • on geometric and semantic 3D keypoint correspondances
  • on depth estimation, semantic segmentation, using linear layers
  • on unsupervised object discovery
  • on video segmentation tracking
  • on video classification, using a small 4-layer attentive probe

Downstream Use

While fine-tuning the model can yield some gains, it is recommended to keep this option as a last resort: the frozen features are expected to provide good performance out-of-the-box.

Bias, Risks, and Limitations

Compared to DINOv2 and SEERv2, DINOv3 delivers somewhat consistent performance across income categories on geographical fairness and diversity, although with a notable performance drop in the low-income bucket compared to the highest-income bucket.

DINOv3 also achieves relatively good scores across different regions, improving over its predecessor DINOv2. However, a relative difference is still observed between Europe and Africa.

Recommendations

Fine-tuning is expected to increase the biases in the features produced by the model as they will be tuned to the fine-tuning labels.

How to Get Started with the Model

The example below demonstrates how to obtain an image embedding with the [AutoModel] class.

Note: For FP16 models, ensure you load the model with torch_dtype=torch.float16 for optimal performance.

import torch
from transformers import AutoImageProcessor, AutoModel
from transformers.image_utils import load_image

url = "http://images.cocodataset.org/val2017/000000039769.jpg"
image = load_image(url)

pretrained_model_name = "mirekphd/dinov3-vit7b16-pretrain-sat493m-fp16"
processor = AutoImageProcessor.from_pretrained(pretrained_model_name)
model = AutoModel.from_pretrained(
    pretrained_model_name,
    torch_dtype=torch.float16,  # Important: Load as FP16
    device_map="auto",
)

inputs = processor(images=image, return_tensors="pt").to(model.device, dtype=torch.float16)
with torch.inference_mode():
    outputs = model(**inputs)

pooled_output = outputs.pooler_output
print("Pooled output shape:", pooled_output.shape)

Training Details

Training Data

  • Satellite dataset (SAT-493M): a dataset of 493 millions of 512x512 images sampled randomly from Maxar RGB ortho-rectified imagery at 0.6 meter resolution

Training Procedure

Training objective:

  • DINO self-distillation loss with multi-crop
  • iBOT masked-image modeling loss
  • KoLeo regularization on [CLS] tokens
  • Gram anchoring

Training regime: PyTorch FSDP2 (with bf16 and fp8 matrix multiplications)

Evaluation

Results

The reader is referred to the associated paper for details on the evaluation protocols.

Results for ViT backbones pretrained (or distilled) on satellite (SAT-493M)

Note: The evaluation results below were obtained for the original FP32 models and may differ for the quantized FP16 versions.

(GEO-Bench) Classification

Model m-BEnet m-brick-kiln m-eurosat m-forestnet m-pv4ger m-so2sat mean
DINOv3 ViT-L/16 73.0 96.5 94.1 60.6 96.0 57.4 79.6
DINOv3 ViT-7B/16 74.0 97.2 94.8 62.3 96.1 62.1 81.1

(GEO-Bench) Segmentation

Model m-cashew m-chesapeake m-NeonTree m-nz-cattle m-pv4ger-seg m-SA-crop mean
DINOv3 ViT-L/16 94.2 75.6 61.8 83.7 95.2 36.8 74.5
DINOv3 ViT-7B/16 94.1 76.6 62.6 83.4 95.5 37.6 75.0

Environmental Impact

  • Hardware Type: Nvidia H100
  • Hours used: 61,440 hours for ViT-7B model training
  • Cloud Provider: Private infrastructure
  • Compute Region: USA
  • Carbon Emitted: 18t CO2eq

Technical Specifications

Model Architecture and Objective

ViT-7B (6716M parameters):

  • Patch size: 16
  • Embedding dimension: 4096
  • Register tokens: 4
  • Heads: 32
  • FFN: SwiGLU
  • Position encoding: RoPE

For a 224x224 image, this results in 1 class token + 4 register tokens + 196 patch tokens = 201 tokens.

The model can accept larger images provided the image shapes are multiples of the patch size (16). If this condition is not verified, the model will crop to the closest smaller multiple of the patch size.

Compute Infrastructure

Hardware

Nvidia H100 GPUs

Software

PyTorch 2.7

More Information

See the blog post and the associated website.

Citation

BibTeX

@misc{simeoni2025dinov3,
  title={{DINOv3}},
  author={Sim{\'e}oni, Oriane and Vo, Huy V. and Seitzer, Maximilian and Baldassarre, Federico and Oquab, Maxime and Jose, Cijo and Khalidov, Vasil and Szafraniec, Marc and Yi, Seungeun and Ramamonjisoa, Micha{\"e}l and Massa, Francisco and Haziza, Daniel and Wehrstedt, Luca and Wang, Jianyuan and Darcet, Timoth{\'e}e and Moutakanni, Th{\'e}o and Sentana, Leonel and Roberts, Claire and Vedaldi, Andrea and Tolan, Jamie and Brandt, John and Couprie, Camille and Mairal, Julien and J{\'e}gou, Herv{\'e} and Labatut, Patrick and Bojanowski, Piotr},
  year={2025},
  eprint={2508.10104},
  archivePrefix={arXiv},
  primaryClass={cs.CV},
  url={https://arxiv.org/abs/2508.10104},
}
Downloads last month
8
Safetensors
Model size
7B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for mirekphd/dinov3-vit7b16-pretrain-sat493m-fp16

Finetuned
(2)
this model