Resolve dask performance issues (#4914)
* Set dask client.map as impure function * Remove nrows * Remove slow check in verbose mode
This commit is contained in:
@@ -251,7 +251,6 @@ public:
|
||||
int current_device;
|
||||
safe_cuda(cudaGetDevice(¤t_device));
|
||||
stats_.RegisterAllocation(ptr, n);
|
||||
CHECK_LE(stats_.peak_allocated_bytes, dh::TotalMemory(current_device));
|
||||
}
|
||||
void RegisterDeallocation(void *ptr, size_t n) {
|
||||
if (!xgboost::ConsoleLogger::ShouldLog(xgboost::ConsoleLogger::LV::kDebug))
|
||||
|
||||
Reference in New Issue
Block a user