ac75faa0cc
CI / build-and-test (push) Has been cancelled
- E4B-MarkBase model (42 layers, 4.4GB) loaded successfully - All Phase 1-6 tests passed (model loading, forward pass, vision/audio towers, token generation, performance) - All stress tests passed (5/5 in 127.6s) - Concurrent inference - Memory stress (67.5 tok/s, 0 NaN) - Continuous generation - Batch processing - Long-running stability - Swift Metal inference engine with multimodal support
51 lines
1.6 KiB
Swift
51 lines
1.6 KiB
Swift
// swift-tools-version: 6.0
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "MarkBase",
|
|
platforms: [.macOS(.v15)],
|
|
products: [
|
|
.library(name: "MarkBase", targets: ["MarkBase"]),
|
|
.executable(name: "MarkBaseServer", targets: ["MarkBaseServer"]),
|
|
.executable(name: "CLITest", targets: ["CLITest"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0"),
|
|
.package(path: "/Users/accusys/coder/poc/rdma"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "MarkBase",
|
|
exclude: ["Metal/MetalKernels.metal", "Metal/OptimizedKernels.metal", "Metal/FusionKernels.metal", "Metal/MetalKernels.metallib", "Metal/metallib"],
|
|
linkerSettings: [
|
|
.linkedFramework("Metal"),
|
|
.linkedFramework("Foundation"),
|
|
]
|
|
),
|
|
.executableTarget(
|
|
name: "MarkBaseServer",
|
|
dependencies: [
|
|
"MarkBase",
|
|
.product(name: "Hummingbird", package: "hummingbird"),
|
|
.product(name: "RDMAKit", package: "rdma"),
|
|
],
|
|
linkerSettings: [
|
|
.linkedFramework("Metal"),
|
|
.linkedFramework("Foundation"),
|
|
]
|
|
),
|
|
.executableTarget(
|
|
name: "CLITest",
|
|
dependencies: ["MarkBase"],
|
|
linkerSettings: [
|
|
.linkedFramework("Metal"),
|
|
.linkedFramework("Foundation"),
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "MarkBaseTests",
|
|
dependencies: ["MarkBase"]
|
|
),
|
|
]
|
|
)
|