Skip to content

[ENH]added multiloss support for v2 interface of base model class#2122

Open
Soham-47 wants to merge 8 commits intosktime:mainfrom
Soham-47:multiloss
Open

[ENH]added multiloss support for v2 interface of base model class#2122
Soham-47 wants to merge 8 commits intosktime:mainfrom
Soham-47:multiloss

Conversation

@Soham-47
Copy link
Contributor

@Soham-47 Soham-47 commented Mar 1, 2026

Added MultiLoss support for to_prediction and to_quantiles methods of base model v2 class

@codecov
Copy link

codecov bot commented Mar 1, 2026

Codecov Report

❌ Patch coverage is 48.48485% with 17 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@cf46d07). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pytorch_forecasting/models/base/_base_model_v2.py 42.85% 16 Missing ⚠️
...orch_forecasting/models/samformer/_samformer_v2.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2122   +/-   ##
=======================================
  Coverage        ?   86.52%           
=======================================
  Files           ?      165           
  Lines           ?     9753           
  Branches        ?        0           
=======================================
  Hits            ?     8439           
  Misses          ?     1314           
  Partials        ?        0           
Flag Coverage Δ
cpu 86.52% <48.48%> (?)
pytest 86.52% <48.48%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@PranavBhatP
Copy link
Contributor

Hi, if the PR is still not ready for review, you can revert to a draft PR, I don't see any reviewable code right now.

@Soham-47 Soham-47 marked this pull request as draft March 5, 2026 03:28
@Soham-47 Soham-47 marked this pull request as ready for review March 6, 2026 16:23
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.

3 participants