-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Description
Hey guys!
I've built xgboost with GPU support. Everything was ok. But when i'm training the classifier model i got several gpu_predictor warnings and then fatal error. Here is the full error list:
XGBoostError Traceback (most recent call last)
<ipython-input-5-f9ae4a94f7eb> in <module>
28
29 gsearch = GridSearchCV(estimator=model, param_grid=params_grid, scoring='roc_auc', cv=5)
---> 30 gsearch.fit(X_train, y_train)
31
32 predictions = gsearch.best_estimator_.predict(X_test)
C:\Anaconda3\lib\site-packages\sklearn\model_selection\_search.py in fit(self, X, y, groups, **fit_params)
737 refit_start_time = time.time()
738 if y is not None:
--> 739 self.best_estimator_.fit(X, y, **fit_params)
740 else:
741 self.best_estimator_.fit(X, **fit_params)
C:\Anaconda3\lib\site-packages\xgboost\sklearn.py in fit(self, X, y, sample_weight, base_margin, eval_set, eval_metric, early_stopping_rounds, verbose, xgb_model, sample_weight_eval_set, callbacks)
822 evals_result=evals_result, obj=obj, feval=feval,
823 verbose_eval=verbose, xgb_model=xgb_model,
--> 824 callbacks=callbacks)
825
826 self.objective = xgb_options["objective"]
C:\Anaconda3\lib\site-packages\xgboost\training.py in train(params, dtrain, num_boost_round, evals, obj, feval, maximize, early_stopping_rounds, evals_result, verbose_eval, xgb_model, callbacks)
210 evals=evals,
211 obj=obj, feval=feval,
--> 212 xgb_model=xgb_model, callbacks=callbacks)
213
214
C:\Anaconda3\lib\site-packages\xgboost\training.py in _train_internal(params, dtrain, num_boost_round, evals, obj, feval, xgb_model, callbacks)
73 # Skip the first update if it is a recovery step.
74 if version % 2 == 0:
---> 75 bst.update(dtrain, i, obj)
76 bst.save_rabit_checkpoint()
77 version += 1
C:\Anaconda3\lib\site-packages\xgboost\core.py in update(self, dtrain, iteration, fobj)
1366 _check_call(_LIB.XGBoosterUpdateOneIter(self.handle,
1367 ctypes.c_int(iteration),
-> 1368 dtrain.handle))
1369 else:
1370 pred = self.predict(dtrain, output_margin=True, training=True)
C:\Anaconda3\lib\site-packages\xgboost\core.py in _check_call(ret)
187 """
188 if ret != 0:
--> 189 raise XGBoostError(py_str(_LIB.XGBGetLastError()))
190
191
XGBoostError: [15:19:15] C:\1\xgboost\src\gbm\gbtree.cc:410: Check failed: gpu_predictor_:
Metadata
Metadata
Assignees
Labels
No labels