-
Notifications
You must be signed in to change notification settings - Fork 10
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
Refactor OmniSci to Heavy #454
Conversation
f411e24
to
86b2888
Compare
8f2ed88
to
b3d6bfe
Compare
b3d6bfe
to
4285033
Compare
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.
Thanks, @tupui for this work!
I have a couple of nits.
In addition, at some point, we should filter out heavydb dependent code from test_externals_cmath.py and test_externals_libdevice.py as well and move these under tests/heavyai/
@@ -19,7 +19,7 @@ | |||
# XXX WIP: the OmnisciCompilerPipeline is no longer omnisci-specific because | |||
# we support Arrays even without omnisci, so it must be renamed and moved | |||
# somewhere elsef | |||
from .omnisci_backend import OmnisciCompilerPipeline | |||
from .heavyai import OmnisciCompilerPipeline |
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.
At some point (not necessarily here to keep this PR simple), we'll need to rename OmnisciCompilerPipeline
as well.
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.
@tupui , could you open an issue for renaming OmnisciCompilerPipeline?
https://github.com/xnd-project/rbc/blob/master/.github/workflows/rbc_test.yml requires an update as well. For instance, currently, CI does not run any of the heavyai tests.. |
Co-authored-by: Pearu Peterson <[email protected]>
Most tests seem to be passing except: |
@pearu do you have a hint? |
8f5f7fa
to
7293693
Compare
ok we debugged with @guilhermeleobas and #445 fixes the segfault. @pearu Once this is green, I propose to merge maybe with the test skip, and then @guilhermeleobas would remove it in his PR. (just seeing some other unrelated things I will fix) |
Considering that this PR is mostly about renaming omnisci to heavydb, @tupui , @guilhermeleobas could you explain how #445 that deals with numba internals is related to the changes in this PR? |
AFAIU, @guilhermeleobas noticed it elsewhere. |
It is a combination of factors that in the end involving Numba calling a C function that doesn't exist. I've seeing this failure before and what triggers it is running a tests that raises an exception followed by I had the same issue in #452 |
Ok seems like all CI is passing. There is one workflow failing one test but seems unrelated |
See here for to view the previous run: https://github.com/xnd-project/rbc/actions/runs/2023309018/attempts/1 |
@pearu @guilhermeleobas the CI is green. It was just a hiccup (maybe even related to GH's current outage). |
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.
LGTM! There are a couple of discussion items that should be addressed in a follow-up but let's land this now.
Thanks, @tupui!
@@ -225,7 +225,7 @@ jobs: | |||
EXPECTED_NUMBA_VERSION: ${{ matrix.numba-version }} | |||
RBC_TESTS_FULL: TRUE | |||
run: | | |||
mamba run -n rbc pytest -sv -r A rbc/tests/ -x -k omnisci | |||
mamba run -n rbc pytest -sv -r A rbc/tests/ -x -k heavyai |
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.
mamba run -n rbc pytest -sv -r A rbc/tests/ -x -k heavyai | |
mamba run -n rbc pytest -sv -r A rbc/tests/heavyai/ -x |
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.
However, let's leave this change to a follow-up PR when heavydb stuff from tests/test_externals_xyz.py is moved under tests/heavyai. @tupui could you open an issue for this task?
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.
Sure 👍
@@ -19,7 +19,7 @@ | |||
# XXX WIP: the OmnisciCompilerPipeline is no longer omnisci-specific because | |||
# we support Arrays even without omnisci, so it must be renamed and moved | |||
# somewhere elsef | |||
from .omnisci_backend import OmnisciCompilerPipeline | |||
from .heavyai import OmnisciCompilerPipeline |
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.
@tupui , could you open an issue for renaming OmnisciCompilerPipeline?
Closes #451