All models

efficientvit_l2

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

Image classification · 634 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 (27 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
63.7M
Operations
634
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
m4624
Graph hash
5c247df338f6072e48413f27f9a91bf1556868ed679f3b3da626f78064f4def5
Skeleton hash
96dd99090ad228f9b567a02714fa8a78eadb7db0f53e3e14424bf88ace164f69
Architecture hash
f41a23d47891695d47876102dfe0b85e1c6791ba216a2bfd267114bb37a34a88
Diagram SHA-256
831bde728837fd3fed377205e25dd9f979bce27ba21b80771b716f85462303b7
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('efficientvit_l2', 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.