SAVRN
Search Contact SAVRN

Open-weight model · Image classification

resnet18.a1_in1k

by PyTorch Image Models timm/resnet18.a1_in1k

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.

Parameters12M
Context
Weights93.6 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads2M

Runs On

What it takes to serve resnet18.a1_in1k (12M 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.0 GB 0.0 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 resnet18.a1_in1k

Ninety-four megabytes on disk, 12M parameters, and a memory line that rounds to 0.0 GB at 16-bit, 8-bit and 4-bit alike, so fit is not the question. The lowest hourly rate in the Index, $1.85 for one MI300X with 192 GB, is a price floor, not a sizing answer; what you size is throughput, images labeled per hour and copies per card. Two million downloads a month against 15 likes: plumbing, not a showpiece.

Apache 2.0 covers it: commercial use, modification and redistribution are allowed if you keep the license and copyright notices and any NOTICE file and state significant changes, with an express patent grant from contributors. The check before committing is training data: ImageNet-1k, under the ResNet Strikes Back A1 recipe, so the labels it emits are ImageNet's, not yours. Two papers, arXiv:1512.03385 and arXiv:2110.00476, describe the architecture and recipe.

Model Card

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

Model card for resnet18.a1_in1k

A ResNet-B image classification model.

This model features: * ReLU activations * single layer 7x7 convolution with pooling * 1x1 convolution shortcut downsample

Trained on ImageNet-1k in timm using recipe template described below.

Recipe details: * ResNet Strikes Back A1 recipe * LAMB optimizer with BCE loss * Cosine LR schedule with warmup

Model Details

  • Model Type: Image classification / feature backbone
  • Model Stats:
  • Params (M): 11.7
  • GMACs: 1.8
  • Activations (M): 2.5
  • Image size: train = 224 x 224, test = 288 x 288
  • Papers:
  • ResNet strikes back: An improved training procedure in timm: https://arxiv.org/abs/2110.00476
  • Deep Residual Learning for Image Recognition: https://arxiv.org/abs/1512.03385
  • Original: https://github.com/huggingface/pytorch-image-models

Model Usage

Image Classification

Read the full model card (2,524 words)

Identity and Version

Repository
timm/resnet18.a1_in1k
Publisher
PyTorch Image Models
Task
Image classification
Modality
Image
Library
timm
Parameters
12M parameters
Languages
Not stated by the source
Revision
491b427b45c94c7fb0e78b5474cc919aff584bbf
First published
2023-04-05
Last updated
2025-01-21

Files and Weights

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

Weights2 files · 93.6 MB
Configuration1 file · 755 B
Documentation1 file · 38.4 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights46.8 MB 80c49dee3da4
pytorch_model.binWeights46.8 MB 1d92fca7bc19
config.jsonConfiguration755 B
README.mdDocumentation38.4 KB
.gitattributesRepository1.5 KB

License and Download

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

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

Built From

Memory Requirements

PrecisionWeights in memory
As published93.6 MB
16-bit0.0 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.

Compare resnet18.a1_in1k

Questions About resnet18.a1_in1k

How much GPU memory does resnet18.a1_in1k need?

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

What is the cheapest GPU to run resnet18.a1_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 resnet18.a1_in1k commercially?

Yes. resnet18.a1_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

Model · Image classification

resnet18.a3_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 A3 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 12M parameters timm

Model · Image classification

efficientnet_b3.ra2_in1k

PyTorch Image Models

A EfficientNet image classification model. 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 Explore the dataset and runtime metrics of this model in timm model results.

Open weights apache-2.0 12M parameters timm

Model · Image classification

repvgg_a0.rvgg_in1k

PyTorch Image Models

A RepVGG image classification model. Trained on ImageNet-1k by paper authors. This model architecture is implemented using timm's flexible BYOBNet (Bring-Your-Own-Blocks Network). block / stage layout stem layout output stride (dilation) activation and norm layers channel and spatial / self-attention layers...and also includes timm features common to many other architectures, including: stochastic depth gradient checkpointing layer-wise LR decay per-stage feature extraction Explore the dataset and runtime metrics of this model in timm model results.

Open weights mit 9M parameters timm

Model · Image classification

convnextv2_pico.fcmae_ft_in1k

PyTorch Image Models

A ConvNeXt-V2 image classification model. Pretrained with a fully convolutional masked autoencoder framework (FCMAE) and fine-tuned on 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 9M parameters timm

Model · Image classification

densenet121.ra_in1k

PyTorch Image Models

A DenseNet image classification model. Pretrained on ImageNet-1k in timm by Ross Wightman using RandAugment RA recipe. Related to B recipe in ResNet Strikes Back.

Open weights apache-2.0 8M parameters timm

Model · Image classification

convnextv2_nano.fcmae_ft_in1k

PyTorch Image Models

A ConvNeXt-V2 image classification model. Pretrained with a fully convolutional masked autoencoder framework (FCMAE) and fine-tuned on 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 16M parameters timm