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

[AWS] RAPIDS 24.10 and the sagemaker library can't be installed together #443

Open
jameslamb opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working cloud/aws Amazon Web Service cloud

Comments

@jameslamb
Copy link
Member

Description

AWS distributes a Python client for SageMaker called sagemaker-sdk-python (aws/sagemaker-python-sdk).

That library's latest versions have a pin of cloudpickle==2.2.1

RAPIDS 24.10 depends on distributed==2024.9.0 (code link) which pins to cloudpickle>=3.0.0.

Because of that, it's not possible to install sagemaker together with RAPIDS 24.10+ libraries that depend on Dask.

Reproducible Example

docker run \
    --rm \
    -it rapidsai/base:24.10a-cuda12.5-py3.11 \
    bash

conda install -y -n base \
    'sagemaker>=2.198'

Results in this solver error:

Could not solve for environment specs
The following packages are incompatible
├─ pin-1 is installable and it requires
│  └─ python 3.11.* , which can be installed;
├─ rapids 24.10**  is installable with the potential options
│  ├─ rapids 24.10.00a would require
│  │  └─ dask-cuda 24.10.*  with the potential options
│  │     ├─ dask-cuda 24.10.00a23 would require
│  │     │  └─ rapids-dask-dependency 24.10.*,>=0.0.0a0 , which requires
│  │     │     └─ distributed 2024.9.0 , which requires
│  │     │        └─ cloudpickle >=3.0.0 , which can be installed;
│  │     ├─ dask-cuda 24.10.00a23 would require
│  │     │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
│  │     └─ dask-cuda 24.10.00a23 would require
│  │        └─ python >=3.12,<3.13.0a0 , which conflicts with any installable versions previously reported;
│  ├─ rapids 24.10.00a would require
│  │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
│  └─ rapids 24.10.00a would require
│     └─ python >=3.12,<3.13.0a0 , which conflicts with any installable versions previously reported;
└─ sagemaker >=2.198  is not installable because it requires
   └─ cloudpickle 2.2.1 , which conflicts with any installable versions previously reported.

Notes

Upstream issue about relaxing that cloudpickle pin: aws/sagemaker-python-sdk#4871

@jameslamb jameslamb added bug Something isn't working cloud/aws Amazon Web Service cloud labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cloud/aws Amazon Web Service cloud
Projects
None yet
Development

No branches or pull requests

1 participant