Skip to content

[chore] Revert environment: secrets changes & cleanup finetuned models#774

Merged
gee-senbong merged 4 commits intomainfrom
senbong/revert-env-secret
Mar 13, 2026
Merged

[chore] Revert environment: secrets changes & cleanup finetuned models#774
gee-senbong merged 4 commits intomainfrom
senbong/revert-env-secret

Conversation

@gee-senbong
Copy link
Collaborator

@gee-senbong gee-senbong commented Mar 12, 2026

This PR

  • reverts changes in chore(deps): bump werkzeug from 3.1.5 to 3.1.6 #768 in an attempt to fix bot created PR permission issue
  • adds a cleanup step before each tests to make sure finetuned models created more than 1 hours ago are removed
  • adds pip cache clearing before the Snowflake packaging step

@elessar-for-github
Copy link

Changes made by this pull request:

.github/workflows/ci.yaml
[Error processing diff]

.github/workflows/pytest.yml
[Error processing diff]

@github-actions
Copy link
Contributor

github-actions bot commented Mar 12, 2026

Experiment Results

Experiment 1: air-passengers

Description:

variable experiment
h 12
season_length 12
freq MS
level None
n_windows 1

Results:

metric timegpt-1 timegpt-1-long-horizon SeasonalNaive Naive
mae 12.6793 11.0623 47.8333 76
mape 0.027 0.0232 0.0999 0.1425
mse 213.936 199.132 2571.33 10604.2
total_time 14.0609 1.2824 0.0045 0.0035

Plot:

Experiment 2: air-passengers

Description:

variable experiment
h 24
season_length 12
freq MS
level None
n_windows 1

Results:

metric timegpt-1 timegpt-1-long-horizon SeasonalNaive Naive
mae 58.1031 58.4587 71.25 115.25
mape 0.1257 0.1267 0.1552 0.2358
mse 4040.21 4110.79 5928.17 18859.2
total_time 1.7462 0.7312 0.004 0.0035

Plot:

Experiment 3: electricity-multiple-series

Description:

variable experiment
h 24
season_length 24
freq H
level None
n_windows 1

Results:

metric timegpt-1 timegpt-1-long-horizon SeasonalNaive Naive
mae 178.293 268.13 269.23 1331.02
mape 0.0234 0.0311 0.0304 0.1692
mse 121589 219485 213677 4.68961e+06
total_time 1.1601 1.3062 0.005 0.0044

Plot:

Experiment 4: electricity-multiple-series

Description:

variable experiment
h 168
season_length 24
freq H
level None
n_windows 1

Results:

metric timegpt-1 timegpt-1-long-horizon SeasonalNaive Naive
mae 465.497 346.972 398.956 1119.26
mape 0.062 0.0436 0.0512 0.1583
mse 835021 403760 656723 3.17316e+06
total_time 0.8054 1.3598 0.0052 0.0045

Plot:

Experiment 5: electricity-multiple-series

Description:

variable experiment
h 336
season_length 24
freq H
level None
n_windows 1

Results:

metric timegpt-1 timegpt-1-long-horizon SeasonalNaive Naive
mae 558.673 459.757 602.926 1340.95
mape 0.0697 0.0565 0.0787 0.17
mse 1.22723e+06 739114 1.61572e+06 6.04619e+06
total_time 1.0088 0.8961 0.0052 0.0046

Plot:

@gee-senbong gee-senbong changed the title [chore] Revert environment: secrets in CI [chore] Revert environment: secrets changes in Github workflow files Mar 13, 2026
@gee-senbong gee-senbong force-pushed the senbong/revert-env-secret branch 2 times, most recently from 40b0797 to 3be1976 Compare March 13, 2026 03:37
@gee-senbong gee-senbong force-pushed the senbong/revert-env-secret branch from 3be1976 to 94c843b Compare March 13, 2026 03:41
@gee-senbong gee-senbong changed the title [chore] Revert environment: secrets changes in Github workflow files [chore] Revert environment: secrets changes & cleanup finetuned models Mar 13, 2026
- name: Cleanup old finetuned models
run: >
uv run python scripts/cleanup_finetuned_models.py --older-than 60
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this fix, better than my suggestion

Copy link
Collaborator

@JQGoh JQGoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test run on windows https://github.com/Nixtla/nixtla/actions/runs/23035439135/job/66902312995?pr=774

returns error like
UnicodeEncodeError: 'charmap' codec can't encode character '\u2713' in position 0: character maps to <undefined>

This is minor but could improve the printing of information.

@gee-senbong gee-senbong requested a review from JQGoh March 13, 2026 07:00
@gee-senbong gee-senbong merged commit f191403 into main Mar 13, 2026
21 of 24 checks passed
@gee-senbong gee-senbong deleted the senbong/revert-env-secret branch March 13, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants