docs: update install instructions in EN/CN README

This commit is contained in:
ViperEkura 2026-07-06 12:25:17 +08:00
parent e8e228d035
commit d7da51569f
2 changed files with 6 additions and 4 deletions

View File

@ -59,8 +59,9 @@ End-to-end walkthrough in 5 steps:
```bash ```bash
git clone https://github.com/ViperEkura/AstrAI.git git clone https://github.com/ViperEkura/AstrAI.git
cd AstrAI cd AstrAI
pip install -e . pip install -e . # pure PyTorch (no CUDA kernels)
# pip install -e ".[dev]" # optional: dev dependencies (pytest, ruff) # CSRC_KERNELS=true pip install -e . --no-build-isolation # optional: fused CUDA kernels
# pip install -e ".[dev]" # dev dependencies (pytest, ruff)
``` ```
**2. Download model** **2. Download model**

View File

@ -65,7 +65,8 @@
```bash ```bash
git clone https://github.com/ViperEkura/AstrAI.git git clone https://github.com/ViperEkura/AstrAI.git
cd AstrAI cd AstrAI
pip install -e . pip install -e . # 纯 PyTorch不含 CUDA 内核)
# CSRC_KERNELS=true pip install -e . --no-build-isolation # 可选:融合 CUDA 内核加速
# pip install -e ".[dev]" # 可选开发依赖pytest, ruff # pip install -e ".[dev]" # 可选开发依赖pytest, ruff
``` ```