diff --git a/mlx/distributed/distributed.cpp b/mlx/distributed/distributed.cpp index d71ebb9b1..9c33837d0 100644 --- a/mlx/distributed/distributed.cpp +++ b/mlx/distributed/distributed.cpp @@ -55,7 +55,8 @@ class EmptyGroup : public GroupImpl { return 1; } - std::shared_ptr split(int color, int key = -1) override { + std::shared_ptr split(int /* color */, int /* key */ = -1) + override { throw std::runtime_error("Cannot split the distributed group further."); }