You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduce memory consumption of scalar quantizer (rapidsai#736)
This is an optimization raised by rapidsai#718 .
The quantile selection process currently relies on sampling. The memory requirements for the originally used
`raft::random::sample_without_replacement`
are roughly `48*input_len bytes` (`4*len*8byte + ~2*len*8byte for sort`).
This has now been replaced by `raft::matrix::sample_rows` which essentially has the same requirement but based on the sample size instead of the original input.
Authors:
- Malte Förster (https://github.com/mfoerste4)
Approvers:
- Tamas Bela Feher (https://github.com/tfeher)
URL: rapidsai#736
0 commit comments