@@ -51,7 +51,7 @@ def __init__(
5151
5252 | Model ID | Parameters |
5353 | ---------------------------------------------------------------------- | ---------- |
54- | [`s3://autogluon/ chronos-2`](https://arxiv.org/abs/2510.15821 ) | 120M |
54+ | [`amazon/ chronos-2`](https://huggingface.co/amazon/chronos-2 ) | 120M |
5555 | [`amazon/chronos-bolt-tiny`](https://huggingface.co/amazon/chronos-bolt-tiny) | 9M |
5656 | [`amazon/chronos-bolt-mini`](https://huggingface.co/amazon/chronos-bolt-mini) | 21M |
5757 | [`amazon/chronos-bolt-small`](https://huggingface.co/amazon/chronos-bolt-small) | 48M |
@@ -118,8 +118,12 @@ def _predict(
118118 ] # list of tuples
119119 fcsts_quantiles , fcsts_mean = zip (* fcsts , strict = False )
120120 if isinstance (model , Chronos2Pipeline ):
121- fcsts_mean = fcsts_mean [0 ]
122- fcsts_quantiles = fcsts_quantiles [0 ]
121+ fcsts_mean = [f_mean for fcst in fcsts_mean for f_mean in fcst ] # type: ignore
122+ fcsts_quantiles = [
123+ f_quantile
124+ for fcst in fcsts_quantiles
125+ for f_quantile in fcst # type: ignore
126+ ]
123127 fcsts_mean_np = torch .cat (fcsts_mean ).numpy ()
124128 fcsts_quantiles_np = torch .cat (fcsts_quantiles ).numpy ()
125129 else :
@@ -131,7 +135,7 @@ def _predict(
131135 for batch in tqdm (dataset )
132136 ]
133137 if isinstance (model , Chronos2Pipeline ):
134- fcsts = fcsts [ 0 ]
138+ fcsts = [ f_fcst for fcst in fcsts for f_fcst in fcst ] # type: ignore
135139 fcsts = torch .cat (fcsts )
136140 if isinstance (model , ChronosPipeline ):
137141 # for t5 models, `predict` returns a tensor of shape
0 commit comments