Initial commit: E4B-MarkBase model integration with passing tests
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
This commit is contained in:
MarkBase Admin
2026-06-23 18:12:35 +08:00
commit ac75faa0cc
301 changed files with 63426 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/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!")