All models

efficientvit_m5

Microsoft Research Asia's memory-efficient vision transformer with cascaded group attention.

Image classification · 888 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 (31 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
12.5M
Operations
888
Framework
PyTorch
Recurrent
No
Published
2023
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
m4631
Graph hash
936d4ca3bcf46c352d52507b9017c27e598e6a7d4ccf8e3eb3547e702a00c145
Skeleton hash
3cf8e588ebb375d53fae644c1b416f98358e2c2ef79a962709699eb67b9eb1ed
Architecture hash
192e4080237254a3cceb49a3cc11d0e8e8c7c81de78141cb0d384ad1942b29c0
Diagram SHA-256
917ee9f9d0f6c2a1ad73d5c11d51ae97dd9db5e47d10d437d651b6bf4323939c
TorchLens version
2.36.0
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('efficientvit_m5', pretrained=False)

What it is

About this model's family

EfficientViT in timm is two different models sharing one name: a design from MIT Song Han's Lab and a design from MSRA. The members traced here, efficientvit_m0 through efficientvit_m4, follow the MSRA design, described in the paper EfficientViT: Memory Efficient Vision Transformer with Cascaded Group Attention. Its timm code was adapted from the official implementation in Microsoft's Cream repository.

The MIT model, which timm exposes under the b and l names, is instead the enhanced linear attention design for high-resolution, low-computation visual recognition.

Key idea. A memory-efficient vision transformer built around cascaded group attention.

  • efficientvit
  • efficient vit
  • efficientvit msra
  • cascaded group attention
  • memory efficient vision transformer
  • microsoft cream
  • timm
  • image classification

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