Skip to content

Commit

Permalink
Add iOS requirement for distilbert tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachNagengast committed Jun 26, 2023
1 parent 3f0cea1 commit be8cca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/SimilaritySearchKitTests/BenchmarkTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import CoreML
@testable import SimilaritySearchKitMiniLMAll
@testable import SimilaritySearchKitMiniLMMultiQA

@available(macOS 13.0, *)
@available(macOS 13.0, iOS 16.0, *)
class BenchmarkTests: XCTestCase {
func testDistilbertTokenization() {
let passageText = MSMarco.testPassage.text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import CoreML
@testable import SimilaritySearchKitMiniLMAll
@testable import SimilaritySearchKitMiniLMMultiQA

@available(macOS 13.0, *)
@available(macOS 13.0, iOS 16.0, *)
class SimilaritySearchKitTests: XCTestCase {
func testSavingIndex() async {
let similarityIndex = await SimilarityIndex(model: DistilbertEmbeddings(), vectorStore: JsonStore())
Expand Down

0 comments on commit be8cca2

Please sign in to comment.