Add bonus dependencies to pyproject (#897)

* Add bonus dependencies to pyproject

* update
This commit is contained in:
Sebastian Raschka
2025-10-28 20:36:21 -05:00
committed by GitHub
parent 0adb5b8c65
commit 760f4c9ecc
3 changed files with 25 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ There are several ways to install Python and set up your computing environment.
<br>
> **Note:**
> **Note:**
> If you are running any of the notebooks on Google Colab and want to install the dependencies, simply run the following code in a new cell at the top of the notebook and skip the rest of this tutorial:
> `pip install uv && uv pip install --system -r https://raw.githubusercontent.com/rasbt/LLMs-from-scratch/refs/heads/main/requirements.txt`
@@ -151,6 +151,7 @@ To install all required packages from a `requirements.txt` file (such as the one
uv pip install -r requirements.txt
```
Alternatively, install the latest dependencies directly from the repository:
```bash
@@ -168,6 +169,13 @@ uv pip install -r https://raw.githubusercontent.com/rasbt/LLMs-from-scratch/refs
> or
> `pip install -U -r https://raw.githubusercontent.com/rasbt/LLMs-from-scratch/refs/heads/main/requirements.txt`
&nbsp;
> **Optional dependencies for bonus materials:**
> To include the optional dependencies used throughout the bonus materials, install the `bonus` dependency group from the project root:
> `uv pip install --group bonus --editable .`
> This is useful if you don't want to install them separately as you check out the optional bonus materials later on.
<br>
**Finalizing the setup**