File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed
Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
33
4+ ## v0.20.4 (2026-03-09)
5+
6+ ### Bug Fixes
7+
8+ - ** postprocess** : Backward-only flood in conditional branch detection + THEN labeling
9+ ([ #88 ] ( https://github.com/johnmarktaylor91/torchlens/pull/88 ) ,
10+ [ ` d737828 ` ] ( https://github.com/johnmarktaylor91/torchlens/commit/d7378281a4be5e56602902cd4cf1aa555b391d44 ) )
11+
12+ Bug #88 : _ mark_conditional_branches flooded bidirectionally (parents + children), causing
13+ non-conditional nodes' children to be falsely marked as in_cond_branch. Fix restricts flooding to
14+ parent_layers only.
15+
16+ Additionally adds THEN branch detection via AST analysis when save_source_context=True, with IF/THEN
17+ edge labels in visualization. Includes 8 new test models, 22 new tests, and fixes missing
18+ 'verbose' in MODEL_LOG_FIELD_ORDER.
19+
20+ Co-Authored-By: Claude Opus 4.6 < noreply@anthropic.com >
21+
22+ - ** vis** : Use Worker thread for ELK layout to fix stack overflow on large graphs
23+ ([ ` 3fe6a84 ` ] ( https://github.com/johnmarktaylor91/torchlens/commit/3fe6a84c3d9d8a5856dfadcf451ef85700a2385c ) )
24+
25+ V8's --stack-size flag silently caps at values well below what's requested, causing "Maximum call
26+ stack size exceeded" on 1M+ node graphs. Switch to Node.js Worker threads with
27+ resourceLimits.stackSizeMb, which reliably delivers the requested stack size at the V8 isolate
28+ level.
29+
30+ Co-Authored-By: Claude Opus 4.6 < noreply@anthropic.com >
31+
32+
433## v0.20.3 (2026-03-08)
534
635### Bug Fixes
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " torchlens"
7- version = " 0.20.3 "
7+ version = " 0.20.4 "
88description = " A package for extracting activations from PyTorch models"
99readme = " README.md"
1010license = " GPL-3.0-only"
Original file line number Diff line number Diff line change 99 first imported. See the bottom of this file for details.
1010"""
1111
12- __version__ = "0.20.3 "
12+ __version__ = "0.20.4 "
1313
1414# ---- Public API: user-facing entry points --------------------------------
1515
You can’t perform that action at this time.
0 commit comments