[Chore] astral's ty (#18116)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2025-05-15 01:00:43 -04:00
committed by GitHub
parent 65334ef3b9
commit afe3236e90
2 changed files with 8 additions and 2 deletions

View File

@ -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
``` ```

View File

@ -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"