All models

gmixer_12_224

MLP-Mixer with SwiGLU added, an experimental all-MLP vision model from timm.

Image classification · 320 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 (30 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

Family
gmixer
Parameters
12.7M
Operations
320
Framework
PyTorch
Recurrent
No
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
m5212
Graph hash
bac839183294f1d90fac2693ebfc24be2c103aa55de123b28137fb0e44da2fd5
Skeleton hash
f15c00c42fdaf27e6542bc241ddd4a3343e2460ffef3469dd031a8ce1e280d3c
Architecture hash
127166060b1f176d8abe8946967cdfb314b2c43ff2f4c62d466fec79d6a31ee0
Diagram SHA-256
d9c15f1cb8f8c98fccd1aefd3df3524efb54b928f8d8d144f1b31aad821366f1
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('gmixer_12_224', pretrained=False)

What it is

This model is Glu-Mixer-12 for 224x224 input.

About this model's family

Glu-Mixer, registered in timm as gmixer, is MLP-Mixer with SwiGLU added. The library labels it an experiment by Ross Wightman. It is defined in the same module as MLP-Mixer, ResMLP and gMLP, an implementation originally based on the paper 'MLP-Mixer: An all-MLP Architecture for Vision'. Two sizes are defined, Glu-Mixer-12 and Glu-Mixer-24, both for 224x224 input.

Key idea. Glu-Mixer is an experiment by Ross Wightman that adds SwiGLU to MLP-Mixer.

  • gmixer
  • Glu-Mixer
  • MLP-Mixer with SwiGLU
  • all-MLP vision model
  • timm
  • image classification
  • SwiGLU

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