Download examples/batched.swift/Package.swift from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 766 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/examples/batched.swift/Package.swift
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github/examples/batched.swift/Package.swift
-
curl -L -o Package.swift https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/examples/batched.swift/Package.swift
766 Bytes
| // swift-tools-version: 5.5 | |
| // The swift-tools-version declares the minimum version of Swift required to build this package. | |
| import PackageDescription | |
| let package = Package( | |
| name: "llama-batched-swift", | |
| platforms: [.macOS(.v12)], | |
| dependencies: [ | |
| .package(name: "llama", path: "../../"), | |
| ], | |
| targets: [ | |
| // Targets are the basic building blocks of a package, defining a module or a test suite. | |
| // Targets can depend on other targets in this package and products from dependencies. | |
| .executableTarget( | |
| name: "llama-batched-swift", | |
| dependencies: ["llama"], | |
| path: "Sources", | |
| linkerSettings: [.linkedFramework("Foundation"), .linkedFramework("AppKit")] | |
| ), | |
| ] | |
| ) | |