SAVRN
Search Contact SAVRN

Open-weight model · Image classification

convnext_tiny.in12k_ft_in1k

by PyTorch Image Models timm/convnext_tiny.in12k_ft_in1k

A ConvNeXt image classification model. Pretrained in timm on ImageNet-12k (a 11821 class subset of full ImageNet-22k) and fine-tuned on ImageNet-1k by Ross Wightman. ImageNet-12k training done on TPUs thanks to support of the TRC program.

Parameters29M
Context
Weights228.8 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads571.6k

Runs On

What it takes to serve convnext_tiny.in12k_ft_in1k (29M 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.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 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 convnext_tiny.in12k_ft_in1k

We keep a short list of models that cost effectively nothing to host, and this ConvNeXt classifier from PyTorch Image Models sits near the top of it. Twenty-nine million parameters, 229 MB on disk, 0.1 GB of memory at 16-bit and a rounded 0.0 GB at 8-bit or 4-bit. The Index's cheapest option is one MI300X with 192 GB at $1.85 an hour, and this model would not notice it was there; run it on whatever GPU already handles image intake. It classifies into the ImageNet-1k label set after pretraining on ImageNet-12k, an 11,821-class subset of ImageNet-22k.

Apache 2.0 allows commercial use and modification and adds an express patent grant; keep the license, copyright and NOTICE files and state significant changes. Two checks: the library is timm rather than transformers, and the publisher's timing figures came from PyTorch 1.13 on an RTX 3090, so measure throughput on your own cards.

Model Card

By PyTorch Image Models, published under apache-2.0, revision aa096f03029c.

Model card for convnext_tiny.in12k_ft_in1k

A ConvNeXt image classification model. Pretrained in timm on ImageNet-12k (a 11821 class subset of full ImageNet-22k) and fine-tuned on ImageNet-1k by Ross Wightman.

ImageNet-12k training done on TPUs thanks to support of the TRC program.

Fine-tuning performed on 8x GPU Lambda Labs cloud instances.

Model Details

  • Model Type: Image classification / feature backbone
  • Model Stats:
  • Params (M): 28.6
  • GMACs: 4.5
  • Activations (M): 13.4
  • Image size: train = 224 x 224, test = 288 x 288
  • Papers:
  • A ConvNet for the 2020s: https://arxiv.org/abs/2201.03545
  • Original: https://github.com/huggingface/pytorch-image-models
  • Dataset: ImageNet-1k
  • Pretrain Dataset: ImageNet-12k

Model Usage

Image Classification

from urllib.request import urlopen
from PIL import Image
import timm

img = Image.open(urlopen(
    'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
))

model = timm.create_model('convnext_tiny.in12k_ft_in1k', pretrained=True)
model = model.eval()

# get model specific transforms (normalization, resize)
data_config = timm.data.resolve_model_data_config(model)
transforms = timm.data.create_transform(**data_config, is_training=False)

output = model(transforms(img).unsqueeze(0))  # unsqueeze single image into batch of 1

top5_probabilities, top5_class_indices = torch.topk(output.softmax(dim=1) * 100, k=5)

Feature Map Extraction

Read the full model card (927 words)

Identity and Version

Repository
timm/convnext_tiny.in12k_ft_in1k
Publisher
PyTorch Image Models
Task
Image classification
Modality
Image
Library
timm
Parameters
29M parameters
Languages
Not stated by the source
Revision
aa096f03029c7f0ec052013f64c819b34f8ad790
First published
2023-01-11
Last updated
2025-01-21

Files and Weights

5 files, 228.8 MB in total. The weights are 2 files totalling 228.8 MB in bin, safetensors.

Weights2 files · 228.8 MB
Configuration1 file · 662 B
Documentation1 file · 16.0 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights114.4 MB a1aefa409b51
pytorch_model.binWeights114.4 MB 1abc6ff66688
config.jsonConfiguration662 B
README.mdDocumentation16.0 KB
.gitattributesRepository1.5 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
228.8 MB
Download from PyTorch Image Models

Released by PyTorch Image Models through its official repository on Hugging Face. Read the license.

Built From

  • Described by arXiv:2201.03545
  • Trained on (disclosed) imagenet-12k
  • Trained on (disclosed) imagenet-1k

Memory Requirements

PrecisionWeights in memory
As published228.8 MB
16-bit0.1 GB
8-bit0.0 GB
4-bit0.0 GB

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

Questions About convnext_tiny.in12k_ft_in1k

How much GPU memory does convnext_tiny.in12k_ft_in1k need?

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

What is the cheapest GPU to run convnext_tiny.in12k_ft_in1k 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 convnext_tiny.in12k_ft_in1k commercially?

Yes. convnext_tiny.in12k_ft_in1k 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

A ConvNeXt image classification model. Pretrained on ImageNet-22k and fine-tuned on ImageNet-1k by paper authors. Explore the dataset and runtime metrics of this model in timm model results. All timing numbers from eager model PyTorch 1.13 on RTX 3090 w/ AMP.

Open weights apache-2.0 29M parameters timm

A ConvNeXt-V2 image classification model. Pretrained with a fully convolutional masked autoencoder framework (FCMAE) and fine-tuned on ImageNet-22k and then ImageNet-1k. Explore the dataset and runtime metrics of this model in timm model results. All timing numbers from eager model PyTorch 1.13 on RTX 3090 w/ AMP.

Open weights cc-by-nc-4.0 29M parameters timm

Model · Image classification

convnextv2-tiny-22k-224

AI at Meta

ConvNeXt V2 model pretrained using the FCMAE framework and fine-tuned on the ImageNet-22K dataset at resolution 224x224. It was introduced in the paper ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoders by Woo et al. and first released in this repository. Disclaimer: The team releasing ConvNeXT V2 did not write a model card for this model so this model card has been written by the Hugging Face team. ConvNeXt V2 is a pure convolutional model (ConvNet) that introduces a fully convolutional masked autoencoder framework (FCMAE) and a new Global Response Normalization (GRN) layer to ConvNeXt. ConvNeXt V2 significantly improves the performance of pure ConvNets on various…

Open weights apache-2.0 29M parameters transformers

Model · Image classification

resnet50d.ra2_in1k

PyTorch Image Models

A ResNet-D image classification model. 3-layer stem of 3x3 convolutions with pooling 2x2 average pool + 1x1 convolution shortcut downsample Trained on ImageNet-1k in timm using recipe template described below. RandAugment RA2 recipe. Inspired by and evolved from EfficientNet RandAugment recipes. Published as B recipe in ResNet Strikes Back. RMSProp (TF 1.0 behaviour) optimizer, EMA weight averaging Step (exponential decay w/ staircase) LR schedule with warmup - Deep Residual Learning for Image Recognition: https://arxiv.org/abs/1512.03385 - Bag of Tricks for Image Classification with Convolutional Neural Networks: https://arxiv.org/abs/1812.01187 Explore the dataset and runtime metrics of…

Open weights apache-2.0 26M parameters timm

Model · Image classification

resnet50.a1_in1k

PyTorch Image Models

A ResNet-B image classification model. single layer 7x7 convolution with pooling 1x1 convolution shortcut downsample Trained on ImageNet-1k in timm using recipe template described below. ResNet Strikes Back A1 recipe - Deep Residual Learning for Image Recognition: https://arxiv.org/abs/1512.03385 Explore the dataset and runtime metrics of this model in timm model results.

Open weights apache-2.0 26M parameters timm