-
Notifications
You must be signed in to change notification settings - Fork 210
Pin sklearn to < 1.8.0 for cuml 25.10 #1368
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
base: main
Are you sure you want to change the base?
Pin sklearn to < 1.8.0 for cuml 25.10 #1368
Conversation
Signed-off-by: Praateek <[email protected]>
Greptile OverviewGreptile SummaryPins Key Changes:
Context: Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant PyProject as pyproject.toml
participant UVLock as uv.lock
participant PackageManager as Package Manager (pip/uv)
participant CuML as cuml-cu12 (25.10.*)
participant SKLearn as scikit-learn
User->>PyProject: Install with deduplication_cuda12 extras
PyProject->>PackageManager: Request cuml-cu12==25.10.*
PyProject->>PackageManager: Request scikit-learn<1.8.0
PackageManager->>UVLock: Resolve dependencies
UVLock->>PackageManager: Return resolved versions
PackageManager->>CuML: Install cuml-cu12 25.10.*
PackageManager->>SKLearn: Install scikit-learn <1.8.0
Note over CuML,SKLearn: Version constraint prevents<br/>incompatibility
SKLearn-->>CuML: Compatible version installed
CuML-->>User: Import successful
User->>PyProject: Run tests with test dependencies
PyProject->>PackageManager: Request scikit-learn<1.8.0
PackageManager->>SKLearn: Install scikit-learn <1.8.0
SKLearn-->>User: Test utilities available
|
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.
No files reviewed, no comments
Description
As title, since cuml 25.10 is incompatible and the import fails if user installs sklearn 1.8.0+ unintentionally.
Usage
# Add snippet demonstrating usageChecklist