Skip to content

Commit b1db33b

Browse files
authored
simplify uv command (#898)
1 parent 760f4c9 commit b1db33b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ bonus = [
5151
"safetensors>=0.6.2",
5252
"scikit-learn>=1.3.1",
5353
"sentencepiece>=0.1.99",
54+
"thop",
5455
"tokenizers>=0.21.1",
5556
"transformers>=4.33.2",
5657
"tqdm>=4.65.0",

setup/01_optional-python-setup-preferences/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ uv pip install -r https://raw.githubusercontent.com/rasbt/LLMs-from-scratch/refs
173173

174174
> **Optional dependencies for bonus materials:**
175175
> To include the optional dependencies used throughout the bonus materials, install the `bonus` dependency group from the project root:
176-
> `uv pip install --group bonus --editable .`
176+
> `uv pip install --group bonus`
177177
> This is useful if you don't want to install them separately as you check out the optional bonus materials later on.
178178
179179
<br>

setup/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pip install -r requirements.txt
1717

1818
> **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:
1919
> `pip install uv && uv pip install --system -r https://raw.githubusercontent.com/rasbt/LLMs-from-scratch/refs/heads/main/requirements.txt`
20-
> Optionally, after cloning the repository, you install the dependencies for all bonus materials with `uv pip install --group bonus --editable .` from the project root. This is useful if you don't want to install them separately as you check out the optional bonus materials later on.
20+
> Optionally, after cloning the repository, you install the dependencies for all bonus materials with `uv pip install --group bonus` from the project root. This is useful if you don't want to install them separately as you check out the optional bonus materials later on.
2121
2222

2323

0 commit comments

Comments
 (0)