Ross ROSS = Recommend OSS · open-source software intelligence for agents

mapillary/inplace_abn

In-Place Activated BatchNorm for Memory-Optimized Training of DNNs observed · 2026-08-28

github.com/mapillary/inplace_abn · Python · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

65/100

  • Activity 94
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3205
  • days_rel: n/a
  • days_push: 40
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1333 stars · 183 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A PyTorch extension library implementing In-Place Activated BatchNorm (InPlace-ABN), which redefines BN plus nonlinear activation as a single in-place operation to reduce training GPU memory usage by up to 50%. It ships the iABN layer plus training scripts reproducing ImageNet classification and Mapillary Vistas semantic segmentation results.

Use cases

  • reduce GPU memory usage when training deep networks in PyTorch
  • train larger ResNet or ResNeXt models on limited GPU memory
  • fit bigger batch sizes on a single GPU during CNN training
  • fuse batch normalization and activation into one memory-efficient layer
  • reproduce memory-optimized ImageNet or semantic segmentation training results

When to choose

  • you train deep CNNs in PyTorch on Linux with CUDA >= 10 and GPU memory is the bottleneck
  • you want to increase model size or batch size without upgrading hardware
  • you need an invertible BN+activation layer compatible with recomputation-based backpropagation

When to avoid

  • you develop or deploy on non-Linux platforms or older CUDA versions
  • you need to transfer weights from networks trained with standard BatchNorm, since the scaling parameterization is incompatible
  • you use a framework other than PyTorch or your models are small enough that memory savings do not matter

Facets

library · maturity stable

machine-learning deep-learning gpu-computing deep-learning machine-learning computer-vision gpu-computing python pytorch batch-normalization memory-optimization cuda-extension semantic-segmentation imagenet training-efficiency neural-networks linux gpu

2 sources

Member repositories

RepositoryRoleHealth v2
mapillary/inplace_abnmain65

For agents

markdown · JSON · MCP: product_card(name="mapillary/inplace_abn")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem