Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ed-donner/llm_engineering
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-donner committed Feb 2, 2025
2 parents 5061c85 + f057632 commit 103c770
Show file tree
Hide file tree
Showing 14 changed files with 2,393 additions and 0 deletions.
18 changes: 18 additions & 0 deletions SETUP-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,24 @@ Run: `python -m pip install --upgrade pip` followed by `pip install -r requireme
If issues occur, try the fallback:
`pip install --retries 5 --timeout 15 --no-cache-dir --force-reinstall -r requirements.txt`

###### Arch users:

Some updates break dependencies. Most notably, numpy, scipy and gensim. To troubleshoot this, you can try many commands:

`sudo pacman -S python-numpy python-pandas python-scipy` This is not recommended, as pacman has no integration with pip (as far as I know)

Another possible solution if having build conflicts, is to update:

`sudo pacman -S gcc gcc-fortran python-setuptools python-wheel`

*Note:* gensim is broken if you have an updated version of scipy. You can either pin scipy to an older version, or
erase gensim from the requirements.txt for the moment. (See: https://aur.archlinux.org/packages/python-gensim)

Lastly, so that the kernel is visible after step (6) in jupyter lab :
`python -m ipykernel install --user --name=llmenv`
`ipython kernel install --user --name=llmenv`


6. **Start Jupyter Lab:**

From the `llm_engineering` folder, run: `jupyter lab`.
Expand Down
Loading

0 comments on commit 103c770

Please sign in to comment.