Skip to content

Commit 62f1851

Browse files
authored
release: v0.0.29 (#361)
2 parents 5abb8a7 + 4b84d8f commit 62f1851

5 files changed

Lines changed: 31 additions & 2 deletions

File tree

docs/changelogs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Welcome to the TimeCopilot Changelog. Here, you will find a comprehensive list of all the changes, updates, and improvements made to the TimeCopilot project. This section is designed to keep you informed about the latest features, bug fixes, and enhancements as we continue to develop and refine the TimeCopilot experience. Stay tuned for regular updates and feel free to explore the details of each release below.
44

5+
- [v0.0.29](v0.0.29.md)
56
- [v0.0.28](v0.0.28.md)
67
- [v0.0.27](v0.0.27.md)
78
- [v0.0.26](v0.0.26.md)

docs/changelogs/v0.0.29.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
### Features
2+
3+
* **transformers 5 support (CVE-2026-1839)**: Widened the `transformers` upper bound to `<6` and `huggingface-hub` to `<2.0` so TimeCopilot can install `transformers>=5.0.0rc3`, which remediates [CVE-2026-1839](https://github.com/advisories). Reaching transformers 5 also required bumping `tfc-t0` to `>=0.2.0`, `timecopilot-granite-tsfm` to `>=0.2.1`, `timecopilot-toto` to `>=0.1.7`, and `timecopilot-timesfm` to `>=0.3.0` (previously pinned `huggingface-hub<1` / `transformers<5`, or broken under `huggingface-hub>=1`). See [#359](https://github.com/TimeCopilot/timecopilot/issues/359) and [#360](https://github.com/TimeCopilot/timecopilot/issues/360).
4+
5+
* **Clean model cache option**: `Forecaster` now accepts a `clean_cache` flag. When enabled, it runs Python garbage collection and clears the CUDA cache after each model runs, reducing peak memory when chaining many foundation models. See [#358](https://github.com/TimeCopilot/timecopilot/pull/358).
6+
7+
```python
8+
from timecopilot import TimeCopilotForecaster
9+
from timecopilot.models.foundation.chronos import Chronos
10+
11+
forecaster = TimeCopilotForecaster(
12+
models=[Chronos(repo_id="amazon/chronos-bolt-tiny")],
13+
clean_cache=True,
14+
)
15+
```
16+
17+
### Fixes
18+
19+
* **Python version guards for granite-backed models**: `FlowState` and `PatchTSTFM` now raise a clear `ImportError` on unsupported Python versions (they require `>=3.11,<3.14`, matching `timecopilot-granite-tsfm`), consistent with the existing `TiRex` and `T0` guards. The `timecopilot-granite-tsfm` dependency is gated with the same Python markers so resolution succeeds on Python 3.10/3.14.
20+
21+
* **Toto compatibility with huggingface-hub 1.x**: `Toto` failed to load under `huggingface-hub>=1` (`Toto._from_pretrained() missing 2 required keyword-only arguments: 'proxies' and 'resume_download'`). Fixed in `timecopilot-toto>=0.1.7`, which no longer requires those arguments. `Toto` (1.0) and `Toto-2` now load correctly under transformers 5.
22+
23+
* **TimesFM 2.5 compatibility with huggingface-hub 1.x**: `TimesFM` (2.5) failed to load under `huggingface-hub>=1` (`TimesFM_2p5_200M_torch._from_pretrained() missing 2 required keyword-only arguments: 'proxies' and 'resume_download'`). Fixed in `timecopilot-timesfm>=0.3.0`, which re-syncs the TimesFM 2.5 source with upstream (dropping those arguments and migrating to `PyTorchModelHubMixin`). `TimesFM` now loads correctly under transformers 5.
24+
25+
---
26+
27+
**Full Changelog**: https://github.com/TimeCopilot/timecopilot/compare/v0.0.28...v0.0.29

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ nav:
5555
- api/gift-eval/gift-eval.md
5656
- Changelogs:
5757
- changelogs/index.md
58+
- changelogs/v0.0.29.md
5859
- changelogs/v0.0.28.md
5960
- changelogs/v0.0.27.md
6061
- changelogs/v0.0.26.md

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ license = "MIT"
113113
name = "timecopilot"
114114
readme = "README.md"
115115
requires-python = ">=3.10"
116-
version = "0.0.28"
116+
version = "0.0.29"
117117

118118
[project.optional-dependencies]
119119
distributed = [

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)