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

Add missing dependencies to compute probabilities function #2904

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

avolkov-intel
Copy link
Contributor

Description

Add missing dependency for at_device function and resolve logreg test failures

@samir-nasibli
Copy link
Contributor

Please share stable jobs for this fixes with sklearnex tests deselected

@avolkov-intel
Copy link
Contributor Author

@samir-nasibli
Copy link
Contributor

samir-nasibli commented Sep 19, 2024

CI: http://intel-ci.intel.com/ef767e7e-f951-f12d-8dba-a4bf010d0e2e

Here sklearnex branch main branch, where this test is deselected. Please update and share the run with the scikit-learn-intelex spmd logreg test deselected. Please use icx compiler

@avolkov-intel
Copy link
Contributor Author

@avolkov-intel
Copy link
Contributor Author

@@ -87,7 +88,8 @@ sycl::event compute_probabilities_sparse(sycl::queue& q,
const std::int64_t p = parameters.get_dimension(0) - (fit_intercept ? 1 : 0);

auto fill_event = fill<Float>(q, probabilities, Float(1), deps);
Float w0 = fit_intercept ? parameters.get_slice(0, 1).at_device(q, 0l) : 0; // Poor perfomance
Float w0 =
fit_intercept ? parameters.get_slice(0, 1).at_device(q, 0l, deps) : 0; // Poor perfomance
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the fill event has no deps with w0 computation looks good

Copy link
Contributor

@samir-nasibli samir-nasibli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase and re-run CI checks

Copy link
Contributor

@samir-nasibli samir-nasibli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@avolkov-intel I don't see that sklearnex branch has changes for deselecting required spmd tests for logreg. Please address comments and rebase your branches for the check

@avolkov-intel
Copy link
Contributor Author

/intelci: run

@avolkov-intel
Copy link
Contributor Author

@samir-nasibli
Copy link
Contributor

@avolkov-intel please provide the job with the rebased sklearnex main branch with spmd logreg test deselection + current branch

@avolkov-intel
Copy link
Contributor Author

@samir-nasibli
Copy link
Contributor

http://intel-ci.intel.com/ef7a5922-4eeb-f191-958d-a4bf010d0e2d

@avolkov-intel all spmd sklearnex tests are skipped. Could you please check what it the issue?

spmd/linear_model/tests/test_logistic_regression_spmd.py sssssssssssssss [ 51%]
ssssssssssssssssssssssssssssssssss    

@samir-nasibli
Copy link
Contributor

http://intel-ci.intel.com/ef7a5922-4eeb-f191-958d-a4bf010d0e2d

@avolkov-intel all spmd sklearnex tests are skipped. Could you please check what it the issue?

spmd/linear_model/tests/test_logistic_regression_spmd.py sssssssssssssss [ 51%]
ssssssssssssssssssssssssssssssssss    

Wrong place was looking. Looks good now.
Please rebase your branch and merge

@avolkov-intel avolkov-intel merged commit 2774879 into oneapi-src:main Sep 24, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants