Last active
December 2, 2024 17:06
-
-
Save prabhatsharma/c34e634cce4877b2414c189486820f99 to your computer and use it in GitHub Desktop.
Instructions to setup sagemaker locally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# local sagemaker setup | |
conda update conda # update conda | |
conda create -n localsm python==3.7 | |
conda activate localsm | |
conda install -c conda-forge jupyterlab | |
conda install pip pandas pytorch scikit-learn | |
pip install sagemaker | |
pip install 'sagemaker[local]' | |
conda install ipykernel | |
python -m ipykernel install --user --name=localsm --display-name="Local Sagemaker" | |
# Using Jupyter, but this would obviously work with any IDE (PyCharm, etc.) | |
jupyter lab | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Video at https://www.youtube.com/watch?v=K3ngZKF31mc&ab_channel=JulienSimon