Skip to content

Commit

Permalink
move the gpu dask tests running behind spark
Browse files Browse the repository at this point in the history
the gpu dask tests may corrupt the whole gpu env
  • Loading branch information
wbo4958 committed Aug 2, 2022
1 parent 2096997 commit 0f388d9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/python-gpu/conftest.py
Expand Up @@ -61,8 +61,8 @@ def pytest_collection_modifyitems(config, items):
mgpu_mark = pytest.mark.mgpu
for item in items:
if item.nodeid.startswith(
"python-gpu/test_gpu_with_dask.py"
"python-gpu/test_gpu_with_dask/test_gpu_with_dask.py"
) or item.nodeid.startswith(
"python-gpu/test_spark_with_gpu/test_spark_with_gpu.py"
"python-gpu/test_gpu_spark/test_gpu_spark.py"
):
item.add_marker(mgpu_mark)
Expand Up @@ -17,7 +17,7 @@
from pyspark.sql import SparkSession
from xgboost.spark import SparkXGBClassifier, SparkXGBRegressor

gpu_discovery_script_path = "tests/python-gpu/test_spark_with_gpu/discover_gpu.sh"
gpu_discovery_script_path = "tests/python-gpu/test_gpu_spark/discover_gpu.sh"
executor_gpu_amount = 4
executor_cores = 4
num_workers = executor_gpu_amount
Expand Down
File renamed without changes.

0 comments on commit 0f388d9

Please sign in to comment.