All models

efficientvit_m0

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

Image classification · 756 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
2.3M
Operations
756
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
m4626
Graph hash
d4e1d1535bb8fefdb5a8ff94b5a5855939f4cd214029da3b97e10182597eceec
Skeleton hash
c805c2dc6be262804c56a2c2eae5f4f5e070e37047318a2a7ce6deacb33996b3
Architecture hash
12abdf91279902bd292a7bc1ec01951259fec34163329de58c72f7b80cc3c13b
Diagram SHA-256
55d1b86dabeef54fc14bea7bd86c32d2842d3dde370fbe67a192100db8567042
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_m0', 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.