Skip to content

FIX GaussianMixture sample method to correctly handle mps #31639

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
merged 4 commits into from
Jun 26, 2025

Conversation

OmarManzoor
Copy link
Contributor

Reference Issues/PRs

None

What does this implement/fix? Explain your changes.

  • Fixes the sample method of GaussianMixture to handle mps device correctly which only supports at max float32

Any other comments?

CC: @ogrisel Could you kindly review?

Copy link

github-actions bot commented Jun 23, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 08807d9. Link to the linter CI: here

@OmarManzoor OmarManzoor added Quick Review For PRs that are quick to review CUDA CI labels Jun 23, 2025
@github-actions github-actions bot removed the CUDA CI label Jun 23, 2025
Copy link
Member

@virchan virchan left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the PR, @OmarManzoor!

@ogrisel ogrisel enabled auto-merge (squash) June 24, 2025 14:58
@OmarManzoor
Copy link
Contributor Author

@ogrisel I think auto merge didn't work possibly because of the generic CI failure

@OmarManzoor OmarManzoor disabled auto-merge June 25, 2025 05:41
@OmarManzoor OmarManzoor merged commit 4daff41 into scikit-learn:main Jun 26, 2025
36 checks passed
@OmarManzoor OmarManzoor deleted the fix-gmm-mps branch June 26, 2025 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Array API module:mixture Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants