mirror of
https://github.com/amazon-science/chronos-forecasting
synced 2026-05-24 10:08:33 +00:00
*Issue #, if available:* On Linux, the final call to `.to` creates
trouble when input tensors are integer. For example:
```
>>> a = torch.tensor([1])
>>> b = torch.stack([torch.full((1,), torch.nan), a])
>>> b
tensor([[nan],
[1.]])
>>> b.to(a)
tensor([[-9223372036854775808],
[ 1]])
```
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
|
||
|---|---|---|
| .. | ||
| dummy-chronos-bolt-model | ||
| dummy-chronos-model | ||
| __init__.py | ||
| test_chronos.py | ||
| test_chronos_bolt.py | ||
| test_utils.py | ||
| util.py | ||