-
Notifications
You must be signed in to change notification settings - Fork 2
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
Time Like Splitting Functions #232
Conversation
This PR is almost final and ready to be merged, however there is just one thing left that needs to be checked but I am facing a problem in that once I modify the gamma functions, it seems to me that NUMBA is not recompiling them. How do I force NUMBA to recompile after any change I make? |
Cancel the https://numba.pydata.org/numba-doc/dev/developer/caching.html#cache-clearing |
I actually did delete them in the directory where the as files are stored, however that did not force recompile. |
If you want to just remove Numba cached files, you can filter them with: find . -type f | grep '\.nb[i|c]$' | xargs rm -f ( However, this would not fix your problem here:
Can you explicitly write exactly which directory you canceled? |
|
tests/ekore/anomalous_dimensions/unpolarized/time_like/test_init.py
Outdated
Show resolved
Hide resolved
In principle, it is the correct one. However, try to cancel them all, at least inside Worst case solution is of course to reclone the repo in a new location. However, that might work for multiple reasons: Numba objects have to be stored somewhere, but that somewhere might be local, but also non-local to the project (e.g. in case you didn't install EKO in development mode, or if you set Numba to use a global cache). But, as a first attempt, if deleting is not working, you can try to edit the file you want to recompile. I'm not sure if Numba uses the time-stamp or a file hash, but changing the file content will change both of them. |
I had installed in as per documentations for installing EKO for development.
That is indeed the problem. Modifying the file should lead numba to recompile but it is not doing that. Yesterday, I literally deleted the entire content of as2.py and saved it, then I ran NLO benchmarks and they still ran. So something very weird is happening, which I don't understand. |
tests/ekore/anomalous_dimensions/unpolarized/time_like/test_as3.py
Outdated
Show resolved
Hide resolved
tests/ekore/anomalous_dimensions/unpolarized/time_like/test_as3.py
Outdated
Show resolved
Hide resolved
You may not be responsible for everything, but for the major part yes: please run always pre-commit We have finally the CI check back! so I can stop complaining personally and let the red cross speak ... |
but it has always been active for me. I do not know why it never checked the test files or the doc files, but I have no reason to disable it. |
well, the red cross says something different - and for the fixes in the last two commits and did nothing more then add a random new line somewhere and run in any case I will not attempt the docstyle fixes here to not further spoil this PR, but open a new dedicated one |
So I think everything in this PR is fine now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is ok now
two remarks
- I think this is significant slower than space-like counterparts because here is no reuse of harmonic sums at all (which proves they are a bottleneck) ... the problem can be tackled in Caching harmonic sums #202
- at NNLO V has a bigger error O(0.2%) than S O(0.04%) in the small x region (where small here x=0.01) which is a bit odd, but fine
After isolated benchmarks completion feel free to merge. Problems with |
No description provided.