diff --git a/CHANGELOG.md b/CHANGELOG.md index 24987e0d..c88e7414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ### Fixed +- Fix place setting of paddle backend and add 2 missing benchmark files. - Fix to relax the integer types expected when indexing arrays (regression in 1.3.0). - Fix printing vector and matrix adjoints in backward kernels. - Fix kernel compile error when printing structs. diff --git a/warp/tests/test_paddle.py b/warp/tests/test_paddle.py index a187e4c7..58adea8e 100644 --- a/warp/tests/test_paddle.py +++ b/warp/tests/test_paddle.py @@ -25,7 +25,7 @@ def __init__(self, device: str): elif device.startswith("gpu:"): self.device_new = device elif device == "gpu": - self.device_new = "gpu" + self.device_new = device else: raise NotImplementedError(f"Unsupported device type {device}") @@ -870,11 +870,11 @@ class TestPaddle(unittest.TestCase): # devices=paddle_compatible_cuda_devices, # ) - # multi-GPU tests - if len(paddle_compatible_cuda_devices) > 1: - add_function_test(TestPaddle, "test_paddle_mgpu_from_paddle", test_paddle_mgpu_from_paddle) - add_function_test(TestPaddle, "test_paddle_mgpu_to_paddle", test_paddle_mgpu_to_paddle) - add_function_test(TestPaddle, "test_paddle_mgpu_interop", test_paddle_mgpu_interop) + # multi-GPU not supported yet. + # if len(paddle_compatible_cuda_devices) > 1: + # add_function_test(TestPaddle, "test_paddle_mgpu_from_paddle", test_paddle_mgpu_from_paddle) + # add_function_test(TestPaddle, "test_paddle_mgpu_to_paddle", test_paddle_mgpu_to_paddle) + # add_function_test(TestPaddle, "test_paddle_mgpu_interop", test_paddle_mgpu_interop) except Exception as e: print(f"Skipping Paddle tests due to exception: {e}")