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

[docs] Remove only cpu note due to gpu support for linear trees #6686

Merged
merged 5 commits into from
Oct 25, 2024

Conversation

JAroyan
Copy link
Contributor

@JAroyan JAroyan commented Oct 18, 2024

I updated the documentation note of 'linear_tree' due to the introduced support of 'device_type=gpu' in pull request (#6555).

@JAroyan JAroyan changed the title DOC Remove only cpu note due to gpu sopport DOC Remove only cpu note due to gpu support Oct 18, 2024
Copy link
Collaborator

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution @JAroyan !

This file is automatically generated and isn't intended to be edited manually.
You should edit this file:

// desc = **Note**: works only with ``cpu`` device type and ``serial`` tree learner

and then run the following helper script: https://github.com/microsoft/LightGBM/blob/master/.ci/parameter-generator.py.

@@ -795,7 +795,7 @@ Dataset Parameters

- it is recommended to rescale data before training so that features have similar mean and standard deviation

- **Note**: works only with ``cpu`` device type and ``serial`` tree learner
- **Note**: works only with ``serial`` tree learner
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't forget about cuda device type.

Suggested change
- **Note**: works only with ``serial`` tree learner
- **Note**: works only with ``cpu``, ``gpu`` device type and ``serial`` tree learner

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the clarification @StrikerRUS !
I added cpu and gpu as device type and did not added cuda as device type.
As far as I could understand from the pull request, device type cuda is not yet supported or?
The parameter-generator.py. run worked well!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you!

As far as I could understand from the pull request, device type cuda is not yet supported or?

Yes, I have the same opinion.

@jameslamb jameslamb changed the title DOC Remove only cpu note due to gpu support [docs] Remove only cpu note due to gpu support Oct 18, 2024
Copy link
Collaborator

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

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

LGTM!

Please agree with CLA by following instructions from #6686 (comment). After that we'll be able to merge your PR.

@StrikerRUS StrikerRUS changed the title [docs] Remove only cpu note due to gpu support [docs] Remove only cpu note due to gpu support for linear trees Oct 18, 2024
@JAroyan
Copy link
Contributor Author

JAroyan commented Oct 20, 2024

@microsoft-github-policy-service agree

@StrikerRUS StrikerRUS merged commit 81ceaec into microsoft:master Oct 25, 2024
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants