Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce test_cudf_cluster_device_spill test and speed it up #918

Merged
merged 1 commit into from
May 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions dask_cuda/tests/test_spill.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,16 @@ async def test_cupy_cluster_device_spill(params):
"params",
[
{
"device_memory_limit": int(200e6),
"memory_limit": int(4000e6),
"device_memory_limit": int(50e6),
"memory_limit": int(1000e6),
"host_target": False,
"host_spill": False,
"host_pause": False,
"spills_to_disk": False,
},
{
"device_memory_limit": int(200e6),
"memory_limit": int(200e6),
"device_memory_limit": int(50e6),
"memory_limit": int(50e6),
"host_target": False,
"host_spill": False,
"host_pause": False,
Expand All @@ -186,15 +186,15 @@ async def test_cupy_cluster_device_spill(params):
{
# This test setup differs from the one above as Distributed worker
# pausing is enabled and thus triggers `DeviceHostFile.evict()`
"device_memory_limit": int(200e6),
"memory_limit": int(200e6),
"device_memory_limit": int(50e6),
"memory_limit": int(50e6),
"host_target": None,
"host_spill": None,
"host_pause": False,
"spills_to_disk": True,
},
{
"device_memory_limit": int(200e6),
"device_memory_limit": int(50e6),
"memory_limit": None,
"host_target": False,
"host_spill": False,
Expand Down Expand Up @@ -228,7 +228,7 @@ async def test_cudf_cluster_device_spill(params):
# The same error above happens when spilling datetime64 to disk
cdf = (
dask.datasets.timeseries(
dtypes={"x": int, "y": float}, freq="100ms"
dtypes={"x": int, "y": float}, freq="400ms"
)
.reset_index(drop=True)
.map_partitions(cudf.from_pandas)
Expand Down