| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| anomalib-2.5.1-py3-none-any.whl | 2026-07-17 | 1.0 MB | |
| anomalib-2.5.1-py3-none-any.whl.publish.attestation | 2026-07-17 | 9.8 kB | |
| anomalib-2.5.1.tar.gz | 2026-07-17 | 696.2 kB | |
| anomalib-2.5.1.tar.gz.publish.attestation | 2026-07-17 | 9.7 kB | |
| README.md | 2026-07-17 | 5.3 kB | |
| Release Anomalib Library v2.5.1 source code.tar.gz | 2026-07-17 | 20.9 MB | |
| Release Anomalib Library v2.5.1 source code.zip | 2026-07-17 | 21.8 MB | |
| Totals: 7 Items | 44.4 MB | 0 | |
What's Changed
Added
- π model: Migrate all DINOv2-based models to
timmfeature extraction with DINOv3 backbone support by @alexriedel1 in https://github.com/open-edge-platform/anomalib/pull/3627 - π model: Add
output_fmt="NLC"mode toTimmFeatureExtractorfor transformer backbones via timm'sforward_intermediatesAPI by @alexriedel1 in https://github.com/open-edge-platform/anomalib/pull/3627 - π model: INP-Former half-precision training support by @alexriedel1 in https://github.com/open-edge-platform/anomalib/pull/3625
- π docs: Improve PatchCore backbone layer documentation by @rashidrao-pk in https://github.com/open-edge-platform/anomalib/pull/3630
Removed
- β οΈ model: Remove custom
DinoVisionTransformer,DinoV2Loader, and Dinomaly's internal ViT implementation β replaced by timm-based extraction by @alexriedel1 in https://github.com/open-edge-platform/anomalib/pull/3627 - β οΈ deps: Remove
cu118install extra by @AlexanderBarabanov in https://github.com/open-edge-platform/anomalib/pull/3652
Changed
- π§ deps: Replace
opencv-pythonwithopencv-python-headlessto support headless environments by @ashwinvaidya17 in https://github.com/open-edge-platform/anomalib/pull/3675 - π§ deps: Bump minimum
torchandtorchvisionversions for thexpuinstall extra by @AlexanderBarabanov in https://github.com/open-edge-platform/anomalib/pull/3652 - π§ deps: Remove upper bound on
torchforcpu,cu126, androcminstall extras to unblock Python 3.14 wheel resolution by @ashwinvaidya17 in https://github.com/open-edge-platform/anomalib/pull/3554 - π§ model: AnomalyDINO default
encoder_namechanged fromdinov2_vit_small_14tovit_small_patch14_dinov2(timm naming) by @alexriedel1 in https://github.com/open-edge-platform/anomalib/pull/3627 - π§ model: Dinomaly, INP-Former, L2BT, PatchFlow encoder parameters updated to use timm backbone names by @alexriedel1 in https://github.com/open-edge-platform/anomalib/pull/3627
Deprecated
- β οΈ model:
anomalib.models.components.dinov2package emitsFutureWarning, useTimmFeatureExtractorinstead by @alexriedel1 in https://github.com/open-edge-platform/anomalib/pull/3627 - β οΈ export: Deprecate the legacy ONNX exporter path (
dynamo=False) ahead of anomalib 2.7.0, where the minimum required PyTorch version will increase to 2.10 by @ashwinvaidya17 in https://github.com/open-edge-platform/anomalib/pull/3554
Fixed
- π data: Update stale MVTec AD/3D download URLs and switch ShanghaiTech to manual-download (dead mirror) with user-facing instructions by @ashwinvaidya17 in https://github.com/open-edge-platform/anomalib/pull/3673
- π export: Add
dynamic_shapessupport for torch dynamo ONNX/OpenVINO export while keeping the legacy exporter path available during the 2.7.0 transition by @ashwinvaidya17 in https://github.com/open-edge-platform/anomalib/pull/3554 - π data: Normalize
Splitenum to string value before DataFrame comparison in dataset loaders for pandas 3.x compatibility by @won-seoop in https://github.com/open-edge-platform/anomalib/pull/3634 and https://github.com/open-edge-platform/anomalib/pull/3659 - π data: Fix pandas 3 compatibility by @won-seoop in https://github.com/open-edge-platform/anomalib/pull/3668
- π typing: Pin mypy
python_versionto 3.10 to fix spurious dataclass__replace__incompatibility errors under Python 3.13 by @ashwinvaidya17 in https://github.com/open-edge-platform/anomalib/pull/3674 - π model: Remove CPU-GPU synchronization in coreset selection loop by @andersendsa in https://github.com/open-edge-platform/anomalib/pull/3651
New Contributors
- @jpggvilaca made their first contribution in https://github.com/open-edge-platform/anomalib/pull/3643
- @dabhi365 made their first contribution in https://github.com/open-edge-platform/anomalib/pull/3614
- @andersendsa made their first contribution in https://github.com/open-edge-platform/anomalib/pull/3651
- @rashidrao-pk made their first contribution in https://github.com/open-edge-platform/anomalib/pull/3630
Full Changelog: https://github.com/open-edge-platform/anomalib/compare/lib/v2.5.0...lib/v2.5.1
API Changes
All DINOv2-based models (AnomalyDINO, Dinomaly, INP-Former, L2BT, PatchFlow) now use TimmFeatureExtractor instead of anomalib's custom DinoVisionTransformer and DinoV2Loader implementations. This change:
- Enables DINOv3 drop-in support β use any timm DINOv3 backbone name (e.g.
vit_large_patch16_dinov3.lvd1689m). - Reduces maintenance surface β removes ~800 lines of custom ViT code.
- Unifies the feature extraction API across CNN and transformer backbones.
See PR [#3627] for full details and benchmark comparisons.
Usage example (DINOv3 with Dinomaly):
:::python
from anomalib.data import MVTecAD
from anomalib.models import Dinomaly
from anomalib.engine import Engine
model = Dinomaly(encoder_name="vit_large_patch16_dinov3.lvd1689m")
engine = Engine(max_epochs=15)
engine.fit(datamodule=MVTecAD(), model=model)