Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Run all tests using --fp-precision=fp32 #2629

Merged
merged 4 commits into from
Apr 11, 2023

Conversation

jvesely
Copy link
Collaborator

@jvesely jvesely commented Apr 11, 2023

Only check fp32 results if running compiled test variant.
Use correct execution mode checks in test_optimizer_specs.
Convert identicalness PyTorch vs. LLVM test to autodiff_mode fixture.

Enable the entire test suite running --fp-precision=fp32 in CI

Using the fixture adds correct marks.
Skip on compiled variant on fp32 since Python execution uses fp64.

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Fix selection of expected results when running in Python and
--fp-precision=fp32

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
autodiff_mode includes LLVMRun and PyTorch execution mode,
checking comparison to ExecutionMode.Python is false for both.

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Switch fp32 run to python3.8 to get better coverage of python versions.
This should help catch compiled tests that are not correctly marked.

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
@jvesely jvesely added the tests Test changes label Apr 11, 2023
@github-actions
Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@jvesely jvesely merged commit dd663b3 into PrincetonUniversity:devel Apr 11, 2023
@jvesely jvesely deleted the fp32 branch April 11, 2023 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Test changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant