Skip to content

Latest commit

 

History

History
72 lines (44 loc) · 1.24 KB

File metadata and controls

72 lines (44 loc) · 1.24 KB

Setup a Local Python Dev Environment

Step-1: Anaconda Python environment

You can install Anaconda by following the guide here.

Step-2: Create a custom environment

We will create an environment for this workshop with all the required libraries installed.

conda create -n llm-workshop-1 -y python=3.11

Activate the new conda environment

conda activate llm-workshop-1

Make sure env is swithced to llm-workshop-1.

Make sure python version is 3.11

python --version

Note: If you are on a linux system install these too

conda install gcc_linux-64

conda install gxx_linux-64

Get the repo

git   clone  https://github.com/sujee/llm-workshop
cd  llm-workshop

install all needed packages

pip install -r requirements.txt

Install a custom kernel

python -m ipykernel install --user --name=llm-workshop --display-name llm-workshop

Start-3: Start Jupyter

jupyter lab

Troubleshooting

If libraries are not loading in Jupyter: Select custom Kernel

When running Jupyter notebooks, if data prep kit libraries are not found, try selecting the custom kernel you created (llm-workshop)