Skip to content

fix tests on main after PR merges - #690

Merged
davidkoski merged 1 commit into
mainfrom
fix-main-tests
Oct 12, 2026
Merged

davidkoski merged 1 commit into
mainfrom
fix-main-tests

Conversation

@davidkoski

Copy link
Copy Markdown
Member

Proposed changes

  • TF32 tolerance issues
  • TestTokenizer has been replaced by PseudoWordTokenizer

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

AI usage

  • I have read this PR description in full and approve it as my own, and it
    accurately describes the code changes.
  • AI usage disclosure: none

- TF32 tolerance issues
- TestTokenizer has been replaced by PseudoWordTokenizer

XCTAssertLessThanOrEqual(
maxAbsDiff(logitsW, logitsF), 1e-3,
maxAbsDiff(logitsW, logitsF), MatmulPrecision.splitTolerance,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A new test on main that needs to be TF32 aware

Comment on lines -191 to +192
tokenizer: TestTokenizer(vocabularySize: vocabularySize),
tokenizer: PseudoWordTokenizer(vocabularySize: vocabularySize),

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A new use of TestTokenizer -- this was replaced in #680

@nwh nwh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidkoski
davidkoski merged commit 67638ff into main Oct 12, 2026
4 checks passed
@davidkoski
davidkoski deleted the fix-main-tests branch October 12, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants