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

Make sagemaker an feature install #116

Closed
milesgranger opened this issue Feb 4, 2021 · 1 comment
Closed

Make sagemaker an feature install #116

milesgranger opened this issue Feb 4, 2021 · 1 comment

Comments

@milesgranger
Copy link

milesgranger commented Feb 4, 2021

pip install stepfunctions[sagemaker]

Why? 🤔

Because sagemaker comes with some not-so-light dependencies. And in situations where the sagemaker module isn't used, we're taking up some valuable space.

ie. After installing we have things like scipy, numpy which aren't needed if one is not using the sagemaker module.

✦ ❯ du -h --max-depth=1  venv/lib/python3.7/site-packages/ | sort -hr
240M	venv/lib/python3.7/site-packages/
65M	venv/lib/python3.7/site-packages/scipy
56M	venv/lib/python3.7/site-packages/botocore
33M	venv/lib/python3.7/site-packages/numpy.libs
30M	venv/lib/python3.7/site-packages/scipy.libs
28M	venv/lib/python3.7/site-packages/numpy
@wong-a
Copy link
Contributor

wong-a commented Dec 9, 2021

Resolving in favour of #184

@wong-a wong-a closed this as completed Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants