Skip to content

Commit 048acf8

Browse files
authored
Enable shap sparse test. (#6332)
1 parent 5e1e972 commit 048acf8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/python-gpu/test_gpu_prediction.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,6 @@ def test_shap(self, num_rounds, dataset, param):
212212
tm.dataset_strategy, shap_parameter_strategy)
213213
@settings(deadline=None, max_examples=20)
214214
def test_shap_interactions(self, num_rounds, dataset, param):
215-
if dataset.name == 'sparse':
216-
issue = 'https://github.com/dmlc/xgboost/issues/6074'
217-
pytest.xfail(reason=f'GPU shap with sparse is flaky: {issue}')
218-
219215
param.update({"predictor": "gpu_predictor", "gpu_id": 0})
220216
param = dataset.set_params(param)
221217
dmat = dataset.get_dmat()

0 commit comments

Comments
 (0)