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

Fix device dispatch for linear updater. #9507

Merged
merged 5 commits into from
Aug 22, 2023

Conversation

trivialfis
Copy link
Member

No description provided.

@trivialfis trivialfis mentioned this pull request Aug 21, 2023
5 tasks
@trivialfis
Copy link
Member Author

Still need to update documents

@@ -40,6 +40,7 @@ class CoordinateUpdater : public LinearUpdater {
FromJson(config.at("coordinate_param"), &cparam_);
}
void SaveConfig(Json* p_out) const override {
LOG(INFO) << "Save config for CPU updater.";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this line

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use it for testing, will change it into log debug

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

src/linear/updater_gpu_coordinate.cu Outdated Show resolved Hide resolved
@trivialfis trivialfis requested a review from hcho3 August 22, 2023 10:25
@trivialfis trivialfis merged commit 3c09399 into dmlc:master Aug 22, 2023
22 checks passed
@trivialfis trivialfis deleted the ctx-gpu-coord branch August 22, 2023 16:17
trivialfis added a commit to trivialfis/xgboost that referenced this pull request Aug 29, 2023
trivialfis added a commit to trivialfis/xgboost that referenced this pull request Aug 29, 2023
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