Skip to content

Commit 56763ea

Browse files
authored
release: v1.8.0
Release/v1.8.0
2 parents 6fff094 + b66491c commit 56763ea

6 files changed

Lines changed: 767 additions & 521 deletions

File tree

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,31 @@ Going forward, this file is updated automatically by `cz bump` on each release.
99

1010
---
1111

12+
## v1.8.0 (2026-05-24)
13+
14+
### Feat
15+
16+
- stable/experimental model split, save/load, and bug fixes
17+
- **models**: add save/load, fix get_params and LSS family pickling
18+
- stable and experimental model separation
19+
20+
### Fix
21+
22+
- duplicate entry in docs for model classes
23+
- test case fixed for windows
24+
- suppress family hparam warning
25+
- **tabr**: cast candidate_y to float in regression/LSS label encoder path
26+
- **tabr**: use regression label encoder for LSS by forwarding lss flag
27+
- **types**: guard task_model None, use getattr for get_params, annotate test kwargs
28+
- **lint**: drop unused unpacked variables and dead code
29+
- **tabtrans**: add dedicated LayerNorm for numerical features instead of reusing encoder norm
30+
- **ndtf**: correct ensemble aggregation for multi-class and LSS outputs
31+
- added faiss-cpu
32+
- add delu dependency for TabR
33+
- DefaultTabRConfig export
34+
- import error after experimental namespace changes
35+
- resolve stale site-packages
36+
1237
## v1.7.0 (2026-05-14)
1338

1439
### Documentation

deeptab/utils/distributions.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from collections.abc import Callable
2+
13
import numpy as np
24
import torch
35
import torch.distributions as dist
@@ -31,7 +33,7 @@ def __init__(self, name, param_names):
3133
self.param_names = param_names
3234
self.param_count = len(param_names)
3335
# Predefined transformation functions accessible to all subclasses
34-
self.predefined_transforms = {
36+
self.predefined_transforms: dict[str, Callable[[torch.Tensor], torch.Tensor]] = {
3537
"positive": torch.nn.functional.softplus,
3638
"none": lambda x: x,
3739
"square": lambda x: x**2,
@@ -50,7 +52,9 @@ def name(self):
5052
def parameter_count(self):
5153
return self.param_count
5254

53-
def get_transform(self, transform_name):
55+
def get_transform(
56+
self, transform_name: str | Callable[[torch.Tensor], torch.Tensor]
57+
) -> Callable[[torch.Tensor], torch.Tensor]:
5458
"""
5559
Retrieve a transformation function by name, or return the function if it's custom.
5660
"""

docs/_static/custom.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,20 @@ html[data-theme="dark"] .highlight .p {
228228
color: #e6edf3;
229229
}
230230

231+
/* ── Sidebar nav section separators ─────────────────────────────────────── */
232+
/* All p.caption elements are flat siblings inside a single <nav>. */
233+
/* The ~ combinator targets every caption that follows the first one, */
234+
/* adding a hairline rule above it without an orphan border at the top. */
235+
#left-sidebar nav p.caption ~ p.caption {
236+
border-top: 1px solid #d0d7de;
237+
padding-top: 0.85rem;
238+
margin-top: 0.5rem;
239+
}
240+
241+
html[data-theme="dark"] #left-sidebar nav p.caption ~ p.caption {
242+
border-top-color: #30363d;
243+
}
244+
231245
/* ── List item spacing — Tailwind prose adds too much gap ────────────────── */
232246
/* Scoped to #content so sidebar/nav lists are unaffected */
233247
#content ul li,

0 commit comments

Comments
 (0)