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 and cleanup for column matrix. #7901

Merged
merged 7 commits into from May 16, 2022
Merged

Conversation

trivialfis
Copy link
Member

  • Fix missed type dispatching for dense columns with missing values.
  • Code cleanup to reduce special cases.
  • Reduce memory usage.

For 1e6 * 32 sparse matrix with sparsity at 0.05 (very close to dense), the memory usage is reduced from 1.1 GB to 870MB.

@trivialfis
Copy link
Member Author

Screenshot from 2022-05-15 01-23-46
Screenshot from 2022-05-15 01-24-07

* Fix missed type dispatching for dense columns with missing values.
* Code cleanup to reduce special cases.
* Reduce memory usage.
@trivialfis trivialfis merged commit 4fcfd9c into dmlc:master May 16, 2022
@trivialfis trivialfis deleted the fix-column-types branch May 16, 2022 13:11
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.

None yet

2 participants