Skip to content

Gemma 4 26B-A4B inference in ~2 GB of RAM on any M-series MacBook

403 B
Raw Blame
import Foundation
import TurboFieldfare

public enum AppBundledResources {
    /// A model-free relocation probe for the app and its independently launched helper.
    public static func verify() throws {
        guard AppPromptPreset.all.count == 7 else {
            throw AppInferenceError.invalidRequest("Bundled prompt examples could not be read.")
        }
        _ = try MetalContext()
    }
}