-
Notifications
You must be signed in to change notification settings - Fork 69
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 XgBoost to 1.7.x #362
Conversation
Just adding a side note. Please check to see if the override for tracker.py is really necessary at this point. I believe it was added as an ad-hoc fix until the open source library rolled out the changes on their side, but I have not looked into it too deeply. Also, please make sure that the environment flag for disabling container support is added by default in serving_mms.py as oppose to requiring an opt-in. |
Also, you should be able to run integration tests prior to merging. |
sure thanks, that's the plan. Will not be merging this prior to ensuring the succeeding integration tests. |
Looks like you're planning on submitting another revision and testing. LGTM otherwise. |
I think I'll sync with you offline on this, as I have some questions |
Updated the description with some more details on new callback API |
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 to me, thanks for the detailed description and deep dive into the new callback behavior.
Optionally, feel free to run black -l 120 src/sagemaker_xgboost_container/checkpointing.py
and black -l 120 test/unit/test_checkpointing.py
, but this can also be saved for another PR.
@@ -334,7 +330,6 @@ def interaction_constraints_validator(value, dependencies): | |||
hpv.ContinuousHyperparameter( | |||
name="aft_loss_distribution_scale", range=hpv.Interval(min_closed=0), required=False | |||
), | |||
hpv.CategoricalHyperparameter(name="single_precision_histogram", range=["true", "false"], required=False), |
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.
Is this not supported in 1.7 anymore?
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.
yes as per my understanding its not supported anymore
I am referring to this set of breaking changes https://github.com/dmlc/xgboost/releases/tag/v1.7.0#:~:text=Single%20precision%20histogram%20is%20removed%20due%20to%20its%20lack%20of%20accuracy%20caused%20by%20significant%20floating%20point%20error.%20In%20some%20cases%20the%20error%20can%20be%20difficult%20to%20detect%20due%20to%20log%2Dscale%20operations%2C%20which%20makes%20the%20parameter%20dangerous%20to%20use
Issue #, if available:
(Note: According to the version upgrade process and steps this PR will only be merged after successful integration tests and container test and changes done accordingly in the following revisions)
Description of changes:
Testing:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.