Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzwang committed Oct 5, 2024
1 parent 127807e commit 6db6229
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/expressions/test_stateful_udf.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def __call__(self, data):

return [self.cuda_visible_devices] * len(data)

FractionalGpuUdf = FractionalGpuUdf.with_concurrency(2)

df = daft.from_pydict({"x": [1, 2]})
df = df.into_partitions(2)
df = df.select(FractionalGpuUdf(df["x"]))
Expand Down

0 comments on commit 6db6229

Please sign in to comment.