[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chronos: Support torch.jit acceleration AutoFormerForecaster.predict #6452

Open
wants to merge 13 commits into
base: main_backup
Choose a base branch
from
Prev Previous commit
Next Next commit
add blank line
  • Loading branch information
liangs6212 committed Dec 21, 2022
commit b8b33586761d7820eace102b6d7fe5496bb9bae7
Original file line number Diff line number Diff line change
Expand Up @@ -483,4 +483,4 @@ def test_autoformer_forecaster_jit_predict(self):
torch.rand(1, 24, 6), torch.rand(1, 17, 6)
forecaster.jit_fp32 = dummy_input
jit_yhat = forecaster.predict_with_jit(test_data)
assert jit_yhat[0].shape == pred[0].shape
assert jit_yhat[0].shape == pred[0].shape