All models

efficientvit_m2

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

Image classification · 580 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 (32 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
4.2M
Operations
580
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
m4628
Graph hash
ea3ce17c55f2bbac7f7ede3c072e4075625891488464b006801295acf961932b
Skeleton hash
a96ee7d35af0b8fb8f801bd5b013abb14f53dd7d3e637719f66924ebdd3f77ae
Architecture hash
c84f239051cdbed199610b812553646f42ed862cffffd2d84e0e0beead4723a9
Diagram SHA-256
35a04e1f30949543a68f27911b7a2a4ce78414c7c96a4924eea08ce29dc54d3c
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_m2', 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.