-
Notifications
You must be signed in to change notification settings - Fork 538
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
Upgrade Treelite module #3316
Upgrade Treelite module #3316
Conversation
I submitted conda-forge/treelite-feedstock#18 to upload the 1.0.0rc1 version of Treelite to Conda-forge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving. treelite
has been upgraded in the integration repo PR below
Rerun tests |
cpp/src/fil/fil.cu
Outdated
// Display appropriate warnings when float64 values are being casted into | ||
// float32, as FIL only supports inferencing with float32 for the time being | ||
if (std::is_same<T, double>::value || std::is_same<L, double>::value) { | ||
CUML_LOG_WARN( | ||
"The tree ensemble model contains float64 values. Since FIL " | ||
"currently only supports inferencing with float32 values, " | ||
"all thresholds and leaf values will be converted from " | ||
"float64 to float32. This may lead to inaccurate " | ||
"prediction."); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to reviewer: We finally have a robust method for warning about float64 use.
Codecov Report
@@ Coverage Diff @@
## branch-0.18 #3316 +/- ##
===============================================
- Coverage 71.48% 71.47% -0.02%
===============================================
Files 207 207
Lines 16750 16753 +3
===============================================
Hits 11974 11974
- Misses 4776 4779 +3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! One question and one wording tweak. Otherwise, this is good to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(just did a quick pass since Will and AJ went into more detail)
rerun tests |
rerunning tests. looks like the latest failure was a test timeout and not related to your most recent warning message change commit. hopefully this run passes. adding the |
Depends on dmlc/treelite#235, dmlc/treelite#236, dmlc/treelite#237, dmlc/treelite#240, dmlc/treelite#241, dmlc/treelite#242, dmlc/treelite#243
Depends on rapidsai/integration#201
Closes #2160
Closes #2795
Closes #2817
TODOs
meta.yml
and the integration package to use the new Treelite