dist/include/ contains the MLX and MLX-C headers needed for CGo compilation. Without these, go-mlx cannot be used as a module dependency (headers not found in module cache). Libraries (dylib/metallib) are still gitignored — users build those locally via cmake. Co-Authored-By: Virgil <virgil@lethean.io>
12 lines
299 B
C++
12 lines
299 B
C++
// Copyright © 2024 Apple Inc.
|
|
|
|
#include "mlx/distributed/distributed.h"
|
|
|
|
namespace mlx::core::distributed::ring {
|
|
|
|
using GroupImpl = mlx::core::distributed::detail::GroupImpl;
|
|
|
|
bool is_available();
|
|
std::shared_ptr<GroupImpl> init(bool strict = false);
|
|
|
|
} // namespace mlx::core::distributed::ring
|