Merge pull request #6 from rudro/rudro_fixmain

Fix position of @main annotation
This commit is contained in:
David Koski
2024-02-27 13:32:39 -08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ import LLM
import MLX
import MLXRandom
@main
struct LLMTool: AsyncParsableCommand {
static var configuration = CommandConfiguration(
abstract: "Command line tool for generating text using Llama models",
@@ -13,7 +14,6 @@ struct LLMTool: AsyncParsableCommand {
defaultSubcommand: SyncGenerator.self)
}
@main
struct SyncGenerator: AsyncParsableCommand {
static var configuration = CommandConfiguration(

View File

@@ -15,7 +15,7 @@
"location" : "https://github.com/ml-explore/mlx-swift",
"state" : {
"branch" : "main",
"revision" : "cadf5f8187ac0894e66cd288217e2eda9f2c933d"
"revision" : "fbe215ae29ec286bdc66f4b3423e3eea1b3ef2fc"
}
},
{
@@ -41,8 +41,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections.git",
"state" : {
"revision" : "d029d9d39c87bed85b1c50adee7c41795261a192",
"version" : "1.0.6"
"revision" : "94cf62b3ba8d4bed62680a282d4c25f9c63c2efb",
"version" : "1.1.0"
}
},
{