SAVRN
Search Contact SAVRN

Open-weight model · Image feature extraction

dinov2-large

by AI at Meta facebook/dinov2-large

Vision Transformer (ViT) model trained using the DINOv2 method. It was introduced in the paper DINOv2: Learning Robust Visual Features without Supervision by Oquab et al. and first released in this repository.

Parameters304M
Context
Weights2.4 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads825.6k

Runs On

What it takes to serve dinov2-large (304M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.6 GB 0.7 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.3 GB 0.4 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.2 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

SAVRN's Notes on dinov2-large

Ask what a 304M parameter vision transformer earns its keep doing, and the answer here is features: AI at Meta pretrained dinov2-large with the DINOv2 method, self-supervised on a large collection of images, and it emits image features rather than labels. Treat it as a backbone for search, deduplication and classifiers you train yourself. In 16-bit the weights are 0.6 GB and it needs 0.7 GB to run, so the least expensive setup, one MI300X at $1.85 per hour on-demand, leaves nearly the whole card free.

Apache 2.0 keeps the deployment simple: commercial use, modification and redistribution are permitted, provided you keep the license and copyright notices and any NOTICE file and state significant changes. Two checks before committing: the publisher did not write the model card, and no evaluations are reported, so run your own on your images. The paper it is described by is arXiv:2304.07193.

Model Card

By AI at Meta, published under apache-2.0, revision 47b73eefe95e.

Vision Transformer (large-sized model) trained using DINOv2

Vision Transformer (ViT) model trained using the DINOv2 method. It was introduced in the paper DINOv2: Learning Robust Visual Features without Supervision by Oquab et al. and first released in this repository.

Disclaimer: The team releasing DINOv2 did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

The Vision Transformer (ViT) is a transformer encoder model (BERT-like) pretrained on a large collection of images in a self-supervised fashion.

Images are presented to the model as a sequence of fixed-size patches, which are linearly embedded. One also adds a [CLS] token to the beginning of a sequence to use it for classification tasks. One also adds absolute position embeddings before feeding the sequence to the layers of the Transformer encoder.

Note that this model does not include any fine-tuned heads.

Read the full model card (397 words)

Configuration

Architecture
Dinov2Model
Layers
24
Hidden size
1,024
Attention heads
16
Stored precision
float32
Model type
dinov2

Identity and Version

Repository
facebook/dinov2-large
Publisher
AI at Meta
Task
Image feature extraction
Modality
Other
Library
transformers
Parameters
304M parameters
Languages
Not stated by the source
Revision
47b73eefe95e8d44ec3623f8890bd894b6ea2d6c
First published
2023-07-17
Last updated
2023-09-06

Files and Weights

6 files, 2.4 GB in total. The weights are 2 files totalling 2.4 GB in bin, safetensors.

Weights2 files · 2.4 GB
Configuration2 files · 985 B
Documentation1 file · 3.0 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights1.2 GB 399fba97a95f
pytorch_model.binWeights1.2 GB 8320e4778a7f
config.jsonConfiguration549 B
preprocessor_config.jsonConfiguration436 B
README.mdDocumentation3.0 KB
.gitattributesRepository1.5 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
2.4 GB
Download from AI at Meta

Released by AI at Meta through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published2.4 GB
16-bit0.6 GB
8-bit0.3 GB
4-bit0.2 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Compare dinov2-large

Questions About dinov2-large

How much GPU memory does dinov2-large need?

About 0.7 GB at 16-bit and 0.2 GB at 4-bit: the weights (304M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run dinov2-large on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use dinov2-large commercially?

Yes. dinov2-large is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Image feature extraction

dinov3-vitl16-pretrain-lvd1689m

Camenduru

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. These are Vision Transformer and ConvNeXt models trained following the method described in the DINOv3 paper. 12 models are provided: - 10 models pretrained on web data (LVD-1689M dataset) - 1 ViT-7B trained from scratch, - 5 ViT-S/S+/B/L/H+ models distilled from the ViT-7B, - 4 ConvNeXt-{T/S/B/L} models distilled from the ViT-7B, - 2 models…

Open weights other 303M parameters transformers

Model · Image feature extraction

dinov2-base

AI at Meta

Vision Transformer (ViT) model trained using the DINOv2 method. It was introduced in the paper DINOv2: Learning Robust Visual Features without Supervision by Oquab et al. and first released in this repository. Disclaimer: The team releasing DINOv2 did not write a model card for this model so this model card has been written by the Hugging Face team. The Vision Transformer (ViT) is a transformer encoder model (BERT-like) pretrained on a large collection of images in a self-supervised fashion. Images are presented to the model as a sequence of fixed-size patches, which are linearly embedded. One also adds a [CLS] token to the beginning of a sequence to use it for classification tasks. One…

Open weights apache-2.0 87M parameters transformers

Model · Image feature extraction

vit-base-patch16-224-in21k

Google

Vision Transformer (ViT) model pre-trained on ImageNet-21k (14 million images, 21,843 classes) at resolution 224x224. It was introduced in the paper An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale by Dosovitskiy et al. and first released in this repository. However, the weights were converted from the timm repository by Ross Wightman, who already converted the weights from JAX to PyTorch. Credits go to him. Disclaimer: The team releasing ViT did not write a model card for this model so this model card has been written by the Hugging Face team. The Vision Transformer (ViT) is a transformer encoder model (BERT-like) pretrained on a large collection of images in a…

Open weights apache-2.0 86M parameters transformers

Model · Image feature extraction

dinov2-small

AI at Meta

Vision Transformer (ViT) model trained using the DINOv2 method. It was introduced in the paper DINOv2: Learning Robust Visual Features without Supervision by Oquab et al. and first released in this repository. Disclaimer: The team releasing DINOv2 did not write a model card for this model so this model card has been written by the Hugging Face team. The Vision Transformer (ViT) is a transformer encoder model (BERT-like) pretrained on a large collection of images in a self-supervised fashion. Images are presented to the model as a sequence of fixed-size patches, which are linearly embedded. One also adds a [CLS] token to the beginning of a sequence to use it for classification tasks. One…

Open weights apache-2.0 22M parameters transformers

Model · Image feature extraction

vit_small_patch14_dinov2.lvd142m

PyTorch Image Models

A Vision Transformer (ViT) image feature model. Pretrained on LVD-142M with self-supervised DINOv2 method. - An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale: https://arxiv.org/abs/2010.11929v2 Explore the dataset and runtime metrics of this model in timm model results.

Open weights apache-2.0 22M parameters timm