[docs] add uv installation instructions for source builds (#37968)
This commit is contained in:
@@ -98,7 +98,12 @@ Install Transformers from source if you want the latest changes in the library o
|
|||||||
```shell
|
```shell
|
||||||
git clone https://github.com/huggingface/transformers.git
|
git clone https://github.com/huggingface/transformers.git
|
||||||
cd transformers
|
cd transformers
|
||||||
|
|
||||||
|
# pip
|
||||||
pip install .[torch]
|
pip install .[torch]
|
||||||
|
|
||||||
|
# uv
|
||||||
|
uv pip install .[torch]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|||||||
Reference in New Issue
Block a user