Skip to content

v2.20.2

Choose a tag to compare

@torchlens-release torchlens-release released this 16 Jun 02:16
· 17399 commits to main since this release

v2.20.2 (2026-06-16)

This release is published under the Apache-2.0 License.

Bug Fixes

  • deps: Declare pillow as a dependency (eager import-time use) (bb2f423)

torchlens.init eagerly imports the viz and repgeom packages, which import PIL (Image/ImageDraw/ImageFont) at module load for node images, input montages, and MDS/feature-map thumbnails. So Pillow is a hard import-time dependency, but it was undeclared — import torchlens raised ModuleNotFoundError: No module named 'PIL' on the CI smoke env (py3.10/3.11), green locally only because the dev env already has Pillow. Declare pillow>=9.


Detailed Changes: v2.20.1...v2.20.2