Integration Test Helpers
IntegrationTestHelpers and BenchmarkHelpers provide shared test logic for verifying end-to-end model loading, inference, tokenizer performance, and download performance. They are designed to be used by integration packages that supply their own Downloader and TokenizerLoader implementations.
Integration packages
- Swift Tokenizers MLX: Uses Swift Tokenizers and Swift HF API
- Swift Transformers MLX: Uses Swift Transformers and Swift Hugging Face
Integration tests and benchmarks are run from those packages.