Apple MLX backend module.
The implementation lives in the canonical Swift RunAnywhereMLX runtime.
This class installs that runtime's callback table into the C++ commons
registry. Models and inference are managed through the core RunAnywhere
APIs after registration succeeds.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- isAvailable → bool
-
Whether a linked MLX runtime can execute on this target.
no setter
- isRegistered → bool
-
Whether the native runtime is registered with the shared registry.
no setter
Static Methods
-
autoRegister(
) → void - Starts registration without awaiting it.
-
dispose(
) → Future< void> - Releases Dart-side binding state after unregistering the runtime.
-
register(
{int priority = 100}) → Future< bool> - Registers the Apple MLX runtime with the shared backend registry.
-
unregister(
) → Future< bool> - Unregisters the Apple MLX runtime.