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

Return predictions in fp32 on CPU #219

Merged
merged 2 commits into from
Nov 29, 2024
Merged

Return predictions in fp32 on CPU #219

merged 2 commits into from
Nov 29, 2024

Conversation

abdulfatir
Copy link
Contributor

Issue #, if available: N/A

Description of changes: This PR ensures that predictions are returned in FP32 and on the CPU device. This choice is now better because we have two types of models which have different types of forecasts (samples vs. quantiles). Furthermore, int64 input_type (our README example is one such case) ran into issues with predict_quantiles before. This choice also fixes that.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@abdulfatir abdulfatir requested a review from lostella November 29, 2024 13:38
test/test_chronos_bolt.py Outdated Show resolved Hide resolved
@lostella
Copy link
Contributor

@abdulfatir maybe this should bump the package version number to 1.4

@abdulfatir
Copy link
Contributor Author

@lostella will do that in another PR.

@abdulfatir abdulfatir merged commit 4c43cfb into main Nov 29, 2024
5 checks passed
@abdulfatir abdulfatir deleted the fix-dtypes branch November 29, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants