[Chore] astral's ty (#18116)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
@ -19,8 +19,8 @@ If you are using NVIDIA GPUs, you can install vLLM using [pip](https://pypi.org/
|
|||||||
It's recommended to use [uv](https://docs.astral.sh/uv/), a very fast Python environment manager, to create and manage Python environments. Please follow the [documentation](https://docs.astral.sh/uv/#getting-started) to install `uv`. After installing `uv`, you can create a new Python environment and install vLLM using the following commands:
|
It's recommended to use [uv](https://docs.astral.sh/uv/), a very fast Python environment manager, to create and manage Python environments. Please follow the [documentation](https://docs.astral.sh/uv/#getting-started) to install `uv`. After installing `uv`, you can create a new Python environment and install vLLM using the following commands:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
uv venv myenv --python 3.12 --seed
|
uv venv --python 3.12 --seed
|
||||||
source myenv/bin/activate
|
source .venv/bin/activate
|
||||||
uv pip install vllm
|
uv pip install vllm
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -170,3 +170,9 @@ plugins.md013.enabled = false # line-length
|
|||||||
plugins.md041.enabled = false # first-line-h1
|
plugins.md041.enabled = false # first-line-h1
|
||||||
plugins.md033.enabled = false # inline-html
|
plugins.md033.enabled = false # inline-html
|
||||||
plugins.md024.allow_different_nesting = true # no-duplicate-headers
|
plugins.md024.allow_different_nesting = true # no-duplicate-headers
|
||||||
|
|
||||||
|
[tool.ty]
|
||||||
|
respect-ignore-files = true
|
||||||
|
|
||||||
|
[tool.ty.environment]
|
||||||
|
python = "./.venv"
|
||||||
|
|||||||
Reference in New Issue
Block a user