You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with version 3.0.0, VecturaKit uses [Package Traits](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0450-swiftpm-package-traits.md) (SE-0450) to reduce dependency footprint. The heavy MLX dependencies are only downloaded when explicitly enabled.
113
+
114
+
**For VecturaKit or VecturaNLKit only (lightweight):**
> **Note:** Package Traits require Swift 6.1+ (Xcode 16.3+). If using Xcode's "Add Package Dependencies" UI for MLX support, you'll need to manually edit your `Package.swift` to add the `traits: ["MLX"]` parameter.
VecturaKit supports Apple's MLX framework through the `MLXEmbedder` for accelerated on-device machine learning performance.
420
443
444
+
> **Important:** To use `VecturaMLXKit`, you must enable the `MLX` trait in your package dependency. See [Package Traits](#package-traits-mlx-support) for details.
445
+
421
446
### Import MLX Support
422
447
423
448
```swift
@@ -647,7 +672,7 @@ Common options for `vectura-cli`:
647
672
-`--dimension, -v`: Vector dimension (auto-detected by default)
0 commit comments