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 of empty leaves issue in MT building and adding a flag to force MT building on one GPU even in multi-GPU systems #22

Closed
wants to merge 10 commits into from

Conversation

dloghin
Copy link
Collaborator

@dloghin dloghin commented Apr 12, 2024

  1. In new_from_leaves_2d(), we performed a flattening of the 2D Vec<Vec> into 1D Vec. However, if some inner Vec is empty, the final number of leaves in the 1D array is wrong. We fixed this by adding F::ZERO when the leaf is empty.
  2. We add a FORCE_SINGLE_GPU flag to force building the MT on a single GPU even if NUM_OF_GPUS is > 1.

@dloghin dloghin closed this Apr 15, 2024
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