All models

brainscore_alexnet

The single-tower AlexNet as built by torchvision: a convolutional network for ImageNet image classification.

Image classification · 22 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

Family
alexnet
Parameters
61.1M
Operations
22
Framework
PyTorch
Recurrent
No
Published
2014
Cited by
1,587 (as of 30 November 2026)
Authors
A. Krizhevsky
License
BSD-3-Clause
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
m3715
Graph hash
de497d4b7e2a0374179fb38534302daf2e23b3fb105c23992232543fef37035f
Skeleton hash
341af9d394e94ea9aa34a5585a2b0d18a44a925ff5a693885200fd4afe103c09
Architecture hash
7a860f28fedb328e9e24d7f59ed86df3a15d5fd72590447a8646bfb8a2c175fa
Diagram SHA-256
843b604812c558ffe410f48a0b60762814a571f5a61d18b00c72ecf5bedc5416
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

torchvision.models.alexnet(weights=None)

What it is

About this model's family

AlexNet is a deep convolutional network for ImageNet image classification. The torchvision version is slightly different from the original and is based instead on a second paper, One weird trick for parallelizing convolutional neural networks. That paper describes its model as a minor variation on the winning model from the ILSVRC 2012 contest, with one tower of layers instead of two. The single tower has five convolutional layers with 64, 192, 384, 384 and 256 filters. The paper reports 0.2% more parameters and 2.4% fewer connections than the two-tower model.

The paper's subject is parallel training: it spreads the work over several GPUs by giving each one different data in the convolutional layers (data parallelism) and a different part of the model in the fully-connected layers (model parallelism). The reasoning is that convolutional layers hold about 90-95% of the computation but only about 5% of the parameters. Fully-connected layers hold about 5-10% of the computation and about 95% of the parameters. The paper reports that the scheme scales well for this model, though not quite linearly. Its experiments ran on a machine with eight NVIDIA K20 GPUs.

Key idea. The paper parallelizes convolutional network training across multiple GPUs by using data parallelism in the convolutional layers and model parallelism in the fully-connected layers.

  • alexnet
  • one weird trick
  • single-tower alexnet
  • torchvision alexnet
  • imagenet classification
  • image classification
  • convolutional neural network
  • ilsvrc 2012

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

Cite the paper

@misc{krizhevsky2014weirdtrickparallelizingconvolutional,
      title={One weird trick for parallelizing convolutional neural networks}, 
      author={Alex Krizhevsky},
      year={2014},
      eprint={1404.5997},
      archivePrefix={arXiv},
      primaryClass={cs.NE},
      url={https://arxiv.org/abs/1404.5997}, 
}