All models

efficientvit_b1

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

Image classification · 473 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 (26 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
9.1M
Operations
473
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
m4620
Graph hash
de3e4bc8f5dd14633e320ed08fbbf57f19af5670ce8e5fcffd9ad1af6a48fd48
Skeleton hash
d4b46cca886d733c915eaf2d70992f43817980d9ec70f8304588b396ea78ceb7
Architecture hash
74eef502d18eb705b8f719d696d050fbab6db3afd66a12df276cd62293c04626
Diagram SHA-256
ae3538f5d7c0afb20fd71e45ca7b2be220023c460b020b851502b582f0c8dfcc
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_b1', 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.