Skip to content

Commit 087d42d

Browse files
author
semantic-release
committed
chore(release): 0.19.0
1 parent 018094d commit 087d42d

File tree

3 files changed

+48
-2
lines changed

3 files changed

+48
-2
lines changed

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,52 @@
11
# CHANGELOG
22

33

4+
## v0.19.0 (2026-03-08)
5+
6+
### Chores
7+
8+
- Add large graph render scripts to scripts/
9+
([`d02233b`](https://github.com/johnmarktaylor91/torchlens/commit/d02233bc050657ed6088b8338e056c2c531d45bd))
10+
11+
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12+
13+
### Documentation
14+
15+
- Update RESULTS.md and tests/CLAUDE.md with current counts
16+
([`75fa346`](https://github.com/johnmarktaylor91/torchlens/commit/75fa3463b16505d21b3498a29c848e5da248bd36))
17+
18+
- Total tests: 892 → 951, test files: 14 → 15, toy models: 249 → 250 - Add test_large_graphs.py (51
19+
tests) to file tables - Add decoration overhead benchmark table to profiling baselines - Add large
20+
graph scaling section (100 to 1M nodes) - Update all per-file test counts to current values
21+
22+
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23+
24+
### Features
25+
26+
- **capture**: Add func_config field for lightweight hyperparameter extraction
27+
([`7144d6d`](https://github.com/johnmarktaylor91/torchlens/commit/7144d6d5200bb17377956ffb8c579553ae34ddfe))
28+
29+
Adds a `func_config` dict to every LayerPassLog/LayerLog containing computation-defining
30+
hyperparameters (kernel_size, stride, in/out channels, dropout p, etc.) extracted at capture time
31+
with zero tensor cloning. Empty for source tensors and output nodes.
32+
33+
Also fixes pre-existing test failures in test_validation.py (read-only property assignments) and
34+
adds detect_loops to MODEL_LOG_FIELD_ORDER.
35+
36+
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37+
38+
### Testing
39+
40+
- **profiling**: Add decoration overhead benchmark to profiling report
41+
([`c8fbffd`](https://github.com/johnmarktaylor91/torchlens/commit/c8fbffdc43b4f97a2e7ab90cecd78a8d59950592))
42+
43+
Measures per-call overhead of TorchLens's toggle-gated wrappers when logging is disabled. Benchmarks
44+
11 functions from cheap (relu, add) to heavy (conv2d, SDPA) — confirms ~600ns overhead on cheap
45+
ops, <1% on real compute.
46+
47+
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
48+
49+
450
## v0.18.0 (2026-03-08)
551

652
### Features

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "torchlens"
7-
version = "0.18.0"
7+
version = "0.19.0"
88
description = "A package for extracting activations from PyTorch models"
99
readme = "README.md"
1010
license = "GPL-3.0-only"

torchlens/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
first imported. See the bottom of this file for details.
1010
"""
1111

12-
__version__ = "0.18.0"
12+
__version__ = "0.19.0"
1313

1414
# ---- Public API: user-facing entry points --------------------------------
1515

0 commit comments

Comments
 (0)