extend ci oneDAL#3584
Conversation
01756be to
8a42e6a
Compare
|
From the failed CIs:
|
|
CI error for the make job when it tries to import DPC (link): @ethanglaser Any comments about what do about it? For the failing C++ examples, looks like the runners don't support avx512: |
|
Looks like the changes didn't solve the issue about results from examples not matching anymore: @Alexandr-Solovev Could you give it a try without the new |
|
So looks like it was indeed the The other remaining test failures also occur in the sklearnex main repository and are not caused by the changes here. |
Do you know the estimation for fixing those tests? |
Those aren't really tests, they are executing daal4py examples and checking the result against hard-coded numbers which were obtained from earlier runs. Some algorithms could produce slightly different results due to floating point inaccuracies, but in this case it's finding completely different cluster centers. We don't know if those are incorrect or not, but the optimization flag shouldn't make such large differences. |
If you mean the failing tests that are actually tests, it will be very hard to fix, because they involve memory safety issues that only manifest under some particular environments and hardware. Perhaps @Vika-F could comment on that. Note that the issue is likely on the oneDAL side. |
|
@Alexandr-Solovev Is this PR meant to fix the failing step 'Check DPC module import' on windows? @ethanglaser Any comments about what could be done about this error? |
YEs, but for now I dont know whats the solution for win import dpc correct work |
|
New windows error after fixing the conda activation issue: (link) As far as I can see, the It doesn't appear to have any |
I checked the sklearnex file https://github.com/uxlfoundation/scikit-learn-intelex/blob/e0a107a2fbc1bc8f0617e10ff4dea88711ce5275/.ci/pipeline/build-and-test-win.yml and looks like it does not include anything realted to dpc(build, examples). @ethanglaser Do you know why? |
We do not build windows dpc in sklearnex azure pipelines. Only in github actions. |
|
@ethanglaser So what would we need to do here in order to run sklearnex DPC tests on windows? |
I believe either extend the current https://github.com/uxlfoundation/scikit-learn-intelex/blob/e0a107a2fbc1bc8f0617e10ff4dea88711ce5275/.ci/pipeline/build-and-test-win.yml on intelex side, or try to use https://github.com/uxlfoundation/scikit-learn-intelex/blob/main/.github/workflows/ci.yml#L178 for win. But not sure about github and azure compatibility |
fa8a0b6 to
6e0b498
Compare
|
@Alexandr-Solovev I think you would also need to add steps for DPC dependencies if you copy the yaml, like in here: |
|
/azp run |
|
Azure Pipelines failed to run 1 pipeline(s). |
I suggest migrating the intended scope of additions from existing .ci/ (azure pipelines) to .github/ (github actions). We can set up a workflow that depends on existing Nightly-build github action and then runs sklearnex .github/workflows/ci.yml step using the result of oneDAL Nightly-build. This is the same way it functions in sklearnex, except that in sklearnex it takes the latest successful Nightly-build here and here from main branch - here it would just take the Nightly-build from the CI here. |
93810dc to
8521af2
Compare
| pip install $(python .ci/scripts/get_compatible_scipy_version.py ${{ matrix.SKLEARN_VERSION }}) pyyaml | ||
| if [ "${{ steps.set-env.outputs.DPCFLAG }}" == "" ]; then pip install dpctl==${{ env.DPCTL_VERSION }} dpnp==${{ env.DPNP_VERSION }}; fi | ||
| pip list | ||
| - name: Sklearnex testing |
There was a problem hiding this comment.
Is it possible to call github actions workflows similar to how you were initially doing for azure pipeline? Instead of having the same steps defined here as in sklearnex repo
|
Test failure from the new windows jobs happens when it calls Looks like that 'python' call might be calling an interpreter from a different environment, which doesn't have sklearnex installed: Curious as to how that happens, since launching pytest to execute those tests would require the correct environment to be already activated. |
Description
Checklist:
Completeness and readability
Testing
Performance