You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if it is a bug, or just little inconvenience (darts==0.23.1)
My scenario:
calling historic_forecast of TFT model without retrain, and only for few historic elements
getting a lot of PossibleUserWarning: The dataloader, predict_dataloader 0, does not have many workers which may be a bottleneck. Consider increasing the value of the `num_workers` argument` (try 4 which is the number of cpus on this machine) in the `DataLoader` init to improve performance.
After quick debugging:
forecasting_model.py(1802)_predict_wrapper() is calling TFTModel's predict function, but doesn't pass num_loader_workers
predict_wrapper is called from historic_forecast as almost last statement.
Proposition:
Historic_forecast should have extra parameter num_loader_workers - named, or as kwargs...
This parameter should be passed to predict-wrapper, and then to predict.
Not sure about interfering with other elements of Darts.
Btw. Darts is wonderfull and very usefull software. And big thanks to their developers :)\
The text was updated successfully, but these errors were encountered:
pfk-beta
changed the title
[Minor BUG] num_workers when calling predict of specific models
[Minor BUG] num_workers when calling predict/historical_forecasts of specific models
May 13, 2023
Hello,
Not sure if it is a bug, or just little inconvenience (darts==0.23.1)
My scenario:
PossibleUserWarning: The dataloader, predict_dataloader 0, does not have many workers which may be a bottleneck. Consider increasing the value of the `num_workers` argument` (try 4 which is the number of cpus on this machine) in the `DataLoader` init to improve performance.
After quick debugging:
predict
function, but doesn't passnum_loader_workers
predict_wrapper
is called fromhistoric_forecast
as almost last statement.Proposition:
predict-wrapper
, and then topredict
.Btw. Darts is wonderfull and very usefull software. And big thanks to their developers :)\
The text was updated successfully, but these errors were encountered: