File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed
Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1111 command : micromamba install -n base -c conda-forge -y python=3.10 git -f environment-cpu.yml
1212 - run :
1313 name : Run nbdev tests
14+ no_output_timeout : 20m
1415 command : |
1516 eval "$(micromamba shell hook --shell bash)"
1617 micromamba activate base
Original file line number Diff line number Diff line change 1919 python-version : " 3.10"
2020
2121 - name : Install dependencies
22- run : pip install black nbdev==2.3.25 pre-commit
22+ run : pip install black "fastcore<1.8.0" nbdev==2.3.25 pre-commit
2323
2424 - name : Run pre-commit
2525 run : pre-commit run --files neuralforecast/*
Original file line number Diff line number Diff line change 292292 " futr_exog_list = None,\n " ,
293293 " hist_exog_list = None,\n " ,
294294 " stat_exog_list = None,\n " ,
295+ " exclude_insample_y: bool = False,\n " ,
295296 " patch_len: int = 16,\n " ,
296297 " hidden_size: int = 512,\n " ,
297298 " n_heads: int = 8,\n " ,
330331 " futr_exog_list=futr_exog_list,\n " ,
331332 " hist_exog_list=hist_exog_list,\n " ,
332333 " stat_exog_list=stat_exog_list,\n " ,
333- " exclude_insample_y = False ,\n " ,
334+ " exclude_insample_y=exclude_insample_y ,\n " ,
334335 " loss=loss,\n " ,
335336 " valid_loss=valid_loss,\n " ,
336337 " max_steps=max_steps,\n " ,
Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ def __init__(
198198 futr_exog_list = None ,
199199 hist_exog_list = None ,
200200 stat_exog_list = None ,
201+ exclude_insample_y : bool = False ,
201202 patch_len : int = 16 ,
202203 hidden_size : int = 512 ,
203204 n_heads : int = 8 ,
@@ -238,7 +239,7 @@ def __init__(
238239 futr_exog_list = futr_exog_list ,
239240 hist_exog_list = hist_exog_list ,
240241 stat_exog_list = stat_exog_list ,
241- exclude_insample_y = False ,
242+ exclude_insample_y = exclude_insample_y ,
242243 loss = loss ,
243244 valid_loss = valid_loss ,
244245 max_steps = max_steps ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ status = 2
1818requirements = coreforecast>=0.0.6 fsspec numpy>=1.21.6 pandas>=1.3.5 torch>=2.0.0 pytorch-lightning>=2.0.0 ray[tune]>=2.2.0 optuna utilsforecast>=0.2.3
1919spark_requirements = fugue pyspark>=3.5
2020aws_requirements = fsspec[s3]
21- dev_requirements = black gitpython hyperopt ipython<=8.32.0 matplotlib mypy nbdev ==2.3.25 polars pre-commit pyarrow ruff s3fs transformers
21+ dev_requirements = black fastcore<=1.7.29 gitpython hyperopt ipython<=8.32.0 matplotlib mypy nbdev ==2.3.25 polars pre-commit pyarrow ruff s3fs transformers
2222nbs_path = nbs
2323doc_path = _docs
2424recursive = True
You can’t perform that action at this time.
0 commit comments