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

[EM] Add example and tests. #10916

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

trivialfis
Copy link
Member

@trivialfis trivialfis commented Oct 21, 2024

  • Add document and example for distributed training.
  • Add tests for categorical features for GPU.

CPU inference still has some issues with extmem + cat, will work on it.

@trivialfis
Copy link
Member Author

cc @rongou .

@trivialfis trivialfis changed the title [EM] Add example for distributed training. [EM] Add example and tests. Oct 21, 2024
# The combination of pool and async is by design. As XGBoost needs to allocate large
# pages repeatly, it's not easy to handle fragmentation. We can use more experiments
# here.
mr = rmm.mr.PoolMemoryResource(rmm.mr.CudaAsyncMemoryResource())
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah this is a bit strange, cudaMallocAsync is basically a pool implemented in the driver. Maybe you can try to set initial_pool_size to something bigger (e.g. free - 1GB) to see if that helps.

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