-
Notifications
You must be signed in to change notification settings - Fork 333
Fix fasthmath precision issue #1048
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
Merged
seanlaw
merged 69 commits into
stumpy-dev:main
from
NimaSarajpoor:investigate_precision_failure
Jan 23, 2025
Merged
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
0d4abf0
removed reassoc flag from fastmath
NimaSarajpoor 7b9a2a3
Add reset feature to config
NimaSarajpoor 95e7d8f
Revised config value
NimaSarajpoor 1f95f77
replaced fastmath flags with config var
NimaSarajpoor 37add84
fixed format
NimaSarajpoor c795b9d
Removed bad f-string
NimaSarajpoor 2774302
Replaced Raised with Returns in docstring
NimaSarajpoor 80544c7
Add second attempt for assertion
NimaSarajpoor a080495
minor change
NimaSarajpoor 976ec13
Add condition to avoid revising fastmath when JIT is disabled
NimaSarajpoor b24ff9d
Removed support for input with type list to simplify function
NimaSarajpoor d13a32b
Refactored the recompile process
NimaSarajpoor 4256839
removed blank lines
NimaSarajpoor f17f92d
fixed typo
NimaSarajpoor e543379
replaced hardcoded fastmath value with config var
NimaSarajpoor 71fe3aa
revised function
NimaSarajpoor 6854b0e
renamed variable to improve readability
NimaSarajpoor aeea9b4
fixed bug
NimaSarajpoor b41cc66
rename config to improve readability
NimaSarajpoor 02b1fb4
revise func clear
NimaSarajpoor 9647113
revise func to recompile all njit functions
NimaSarajpoor 245bfc4
Adapt to changes in test function
NimaSarajpoor 7dd15eb
add test
NimaSarajpoor 4b52ff5
resolve coverage
NimaSarajpoor aabd41a
resolve missing lines in coverage
NimaSarajpoor 47c9932
Add test function to improve coverage
NimaSarajpoor 816e8d4
add fastmath module
NimaSarajpoor 562550e
revise test function to use fastmath module
NimaSarajpoor d99148a
fix minor issue
NimaSarajpoor 8a45f6e
minor change to improve readability
NimaSarajpoor 7eb52c1
Add fastmath default flags to config default
NimaSarajpoor b130fa7
add reset function
NimaSarajpoor 6264e94
rename function
NimaSarajpoor 1d873bd
adapt recent changes in test function
NimaSarajpoor 127e61c
minor fixes
NimaSarajpoor 447c006
Check if DISABLE_JIT before getting fastmath
NimaSarajpoor 14c2267
ignore lines for coverage check
NimaSarajpoor ec960bd
Merge branch 'main' into investigate_precision_failure
NimaSarajpoor 2469458
Editorial fix
NimaSarajpoor 2624445
avoid .get(key) to get KeyError if it does not exist
NimaSarajpoor 4b37b0a
add function to save cache
NimaSarajpoor baf3fea
Add note to function
NimaSarajpoor 7d02173
fix format
NimaSarajpoor 24bc232
replace fastmath flag with config variable
NimaSarajpoor f5c2718
add test function to check backward compatibility
NimaSarajpoor 1a17346
skip test when JIT is disabled
NimaSarajpoor 995a6c2
rename test function
NimaSarajpoor 0097953
add conditional deprecation warning
NimaSarajpoor bee3b63
add test function to check if cache can be saved after cache._clear()
NimaSarajpoor 8d29f91
remove old warning
NimaSarajpoor 18dd4b9
add test for cache._clear
NimaSarajpoor d7b21a7
add wrapper around private functions
NimaSarajpoor cf4b183
Raise OSError when NUMBA JIT is disabled during cache save
NimaSarajpoor 89825c9
move warnings to public API
NimaSarajpoor 6a61483
fix warning message
NimaSarajpoor fd7eb7d
improved warning message
NimaSarajpoor 9ba634b
Add commit about addition config variables that are defined in __init__
NimaSarajpoor 1a48f3d
Revise test function to improve readability
NimaSarajpoor 02115b2
Add test function for fastmath
NimaSarajpoor ecaead2
Revised test functions
NimaSarajpoor 5c1a7a7
skip test if numba JIT is disabled
NimaSarajpoor 89db05c
omit test functions that require NUMBA JIT
NimaSarajpoor 7e72a7f
Removed the trivial test function
NimaSarajpoor b82b3c9
Raise warning instead of error to avoid interrupting the program
NimaSarajpoor 9a69593
improve readability
NimaSarajpoor 7e5985d
remove intermediate variable
NimaSarajpoor 2369e33
minor fixes
NimaSarajpoor 04eac83
Add shell script code to check for harcoded fastmath flags
NimaSarajpoor f5186a2
minor fix on indention
NimaSarajpoor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.