Skip to content

Commit db97052

Browse files
committed
Patch swift-transformers
1 parent b2ef5f1 commit db97052

File tree

2 files changed

+36
-16
lines changed

2 files changed

+36
-16
lines changed

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ let package = Package(
2828
],
2929
dependencies: [
3030
.package(url: "https://github.com/ml-explore/mlx-swift", .upToNextMinor(from: "0.21.2")),
31+
// .package(
32+
// url: "https://github.com/huggingface/swift-transformers", .upToNextMinor(from: "0.1.13")
33+
// ),
3134
.package(
32-
url: "https://github.com/huggingface/swift-transformers", .upToNextMinor(from: "0.1.13")
33-
),
35+
url: "https://github.com/DePasqualeOrg/swift-transformers", branch: "images-and-tools"),
3436
.package(
3537
url: "https://github.com/apple/swift-async-algorithms", .upToNextMinor(from: "1.0.0")),
3638
.package(url: "https://github.com/1024jp/GzipSwift", "6.0.1" ... "6.0.1"), // Only needed by MLXMNIST

mlx-swift-examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"originHash" : "347ce608ed233db4ed416d22692a515e7f4fd2fd3eed7904f75bb8b35eb5366c",
2+
"originHash" : "327a4376ec20e25f941929e0bd2eefea67914f3c98414e5489f49c7e49eab7ab",
33
"pins" : [
44
{
55
"identity" : "gzipswift",
@@ -13,10 +13,10 @@
1313
{
1414
"identity" : "jinja",
1515
"kind" : "remoteSourceControl",
16-
"location" : "https://github.com/maiqingqiang/Jinja",
16+
"location" : "https://github.com/johnmai-dev/Jinja",
1717
"state" : {
18-
"revision" : "b435eb62b0d3d5f34167ec70a128355486981712",
19-
"version" : "1.0.5"
18+
"revision" : "bbddb92fc51ae420b87300298370fd1dfc308f73",
19+
"version" : "1.1.1"
2020
}
2121
},
2222
{
@@ -33,8 +33,8 @@
3333
"kind" : "remoteSourceControl",
3434
"location" : "https://github.com/gonzalezreal/NetworkImage",
3535
"state" : {
36-
"revision" : "7aff8d1b31148d32c5933d75557d42f6323ee3d1",
37-
"version" : "6.0.0"
36+
"revision" : "2849f5323265386e200484b0d0f896e73c3411b9",
37+
"version" : "6.0.1"
3838
}
3939
},
4040
{
@@ -51,17 +51,35 @@
5151
"kind" : "remoteSourceControl",
5252
"location" : "https://github.com/apple/swift-argument-parser.git",
5353
"state" : {
54-
"revision" : "41982a3656a71c768319979febd796c6fd111d5c",
55-
"version" : "1.5.0"
54+
"revision" : "0fbc8848e389af3bb55c182bc19ca9d5dc2f255b",
55+
"version" : "1.4.0"
56+
}
57+
},
58+
{
59+
"identity" : "swift-cmark",
60+
"kind" : "remoteSourceControl",
61+
"location" : "https://github.com/swiftlang/swift-cmark",
62+
"state" : {
63+
"revision" : "3ccff77b2dc5b96b77db3da0d68d28068593fa53",
64+
"version" : "0.5.0"
65+
}
66+
},
67+
{
68+
"identity" : "swift-collections",
69+
"kind" : "remoteSourceControl",
70+
"location" : "https://github.com/apple/swift-collections.git",
71+
"state" : {
72+
"revision" : "671108c96644956dddcd89dd59c203dcdb36cec7",
73+
"version" : "1.1.4"
5674
}
5775
},
5876
{
5977
"identity" : "swift-markdown-ui",
6078
"kind" : "remoteSourceControl",
6179
"location" : "https://github.com/gonzalezreal/swift-markdown-ui",
6280
"state" : {
63-
"revision" : "55441810c0f678c78ed7e2ebd46dde89228e02fc",
64-
"version" : "2.4.0"
81+
"revision" : "5f613358148239d0292c0cef674a3c2314737f9e",
82+
"version" : "2.4.1"
6583
}
6684
},
6785
{
@@ -76,12 +94,12 @@
7694
{
7795
"identity" : "swift-transformers",
7896
"kind" : "remoteSourceControl",
79-
"location" : "https://github.com/huggingface/swift-transformers",
97+
"location" : "https://github.com/DePasqualeOrg/swift-transformers",
8098
"state" : {
81-
"revision" : "4d25d20e49d2269aec1556231f8e278db7b2a4f0",
82-
"version" : "0.1.13"
99+
"branch" : "images-and-tools",
100+
"revision" : "f66546c056f36f550c0a065842f9e1e90870fba1"
83101
}
84102
}
85103
],
86-
"version" : 2
104+
"version" : 3
87105
}

0 commit comments

Comments
 (0)