Files
markbaseengine/testForwardStandalone.swift
MarkBase Admin ac75faa0cc
CI / build-and-test (push) Has been cancelled
Initial commit: E4B-MarkBase model integration with passing tests
- 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
2026-06-23 18:12:35 +08:00

22 lines
515 B
Swift

#!/usr/bin/env swift
import Foundation
import Metal
print("=== Standalone Forward Test ===")
print("Start: \(Date())")
fflush(stdout)
// Load config
let modelDir = "/Users/accusys/MarkBaseEngine/models/gemma-4-26b-standard"
let configURL = URL(fileURLWithPath: modelDir).appendingPathComponent("config.json")
guard FileManager.default.fileExists(atPath: configURL.path) else {
print("ERROR: Model not found")
exit(1)
}
print("Config found at \(configURL.path)")
fflush(stdout)
print("Test completed!")