All models

test_vit4

timm's miniature test backbones, swept into the roster because the library lists them.

Image classification · 268 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (33 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
1M
Operations
268
Framework
PyTorch
Recurrent
No
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m10495
Graph hash
8fad55ac1febde60a02636af0ffd02ba0ff4fadbb9a95aa87638ab0b35e7d8c9
Skeleton hash
af55ec103b81f210d7fa4da6dfa7b4b71e40637e7e6c6f1d96319279a510f2c8
Architecture hash
5869363c38f17bc7c678fa53fe859622a6d78aae05bb96572eec2b795cd483ee
Diagram SHA-256
fb209ab117ec63e2b026d573a856d771e1f01e453086860aac84153cc1f20379
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

timm.create_model('test_vit4', pretrained=False)

What it is

About this model's family

These are timm's own internal test models: miniature registrations of its ByobNet, ConvNeXt, EfficientNet, MambaOut, NFNet, ResNet and Vision Transformer code paths, exposed by list_models and so swept into the roster. The test_byobnet model comes from Bring-Your-Own-Blocks Network, a flexible network with a dataclass-based config for stacking blocks, and is described as a minimal test ResNet. The ConvNeXt tests sit in the module implementing A ConvNet for the 2020s and ConvNeXt V2, where several small model definitions are timm originals. The EfficientNet tests, including evos, group-norm and layer-norm variants, come from the module covering the EfficientNet family and relatives such as MixNet, MnasNet, FBNet and TinyNet. The MambaOut test comes from code adapted from timm, MetaFormer and InceptionNeXt.

All fifteen members run from random initialisation at a 160x160 input and emit 1000-way logits, which is what the library's own tests exercise.

Key idea. Tiny registrations of timm's main backbone code paths, kept to test the library rather than to classify images well.

  • timm test models
  • test_byobnet
  • test_convnext
  • test_efficientnet
  • test_mambaout
  • test_nfnet
  • test_resnet
  • test_vit
  • timm internal test registration
  • timm
  • Ross Wightman

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.