Skip to content

Commit

Permalink
Update python/cudf/cudf_pandas_tests/third_party_integration_tests/te…
Browse files Browse the repository at this point in the history
…sts/test_xgboost.py
  • Loading branch information
Matt711 authored Dec 18, 2024
1 parent 11d37f7 commit a368262
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ def test_predict(device: str) -> np.ndarray:
# After https://github.com/dmlc/xgboost/pull/11014, .inplace_predict()
# returns a real cupy array when called on a cudf.pandas proxy dataframe.
# So we need to ensure we have a valid numpy array.
# TODO: We should remove the call to .get() when .inplace_predict()
# returns a cudf.pandas proxy numpy array
if not isinstance(predt1, np.ndarray):
predt1 = predt1.get()
np.testing.assert_allclose(predt0, predt1)
Expand Down

0 comments on commit a368262

Please sign in to comment.