Skip to content

Commit 2fecb3a

Browse files
committed
Use release versions of integration packages in usage examples
1 parent 9f1b334 commit 2fecb3a

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Add the core package to your `Package.swift`:
2121
Then add your preferred tokenizer and downloader integrations:
2222

2323
```swift
24-
.package(url: "https://github.com/DePasqualeOrg/swift-tokenizers-mlx", branch: "main"),
25-
.package(url: "https://github.com/DePasqualeOrg/swift-hf-api-mlx", branch: "main"),
24+
.package(url: "https://github.com/DePasqualeOrg/swift-tokenizers-mlx", from: "0.1.0"),
25+
.package(url: "https://github.com/DePasqualeOrg/swift-hf-api-mlx", from: "0.1.0"),
2626
```
2727

2828
And add the libraries to your target:
@@ -142,10 +142,9 @@ Add your preferred tokenizer and downloader adapters:
142142
.package(url: "https://github.com/ml-explore/mlx-swift-lm/", from: "2.30.0"),
143143

144144
// After (3.x) – core + adapters
145-
// Prefer tagged releases when available.
146145
.package(url: "https://github.com/ml-explore/mlx-swift-lm/", from: "3.0.0"),
147-
.package(url: "https://github.com/DePasqualeOrg/swift-tokenizers-mlx/", branch: "main"),
148-
.package(url: "https://github.com/DePasqualeOrg/swift-hf-api-mlx/", branch: "main"),
146+
.package(url: "https://github.com/DePasqualeOrg/swift-tokenizers-mlx/", from: "0.1.0"),
147+
.package(url: "https://github.com/DePasqualeOrg/swift-hf-api-mlx/", from: "0.1.0"),
149148
```
150149

151150
And add their products to your target:

0 commit comments

Comments
 (0)