[docs] Simplify multi-instance development with direct PYTHONPATH
Replace pip install -e . --prefix=./.local approach with simpler PYTHONPATH method: - No pip install required - Code changes take effect immediately - Each worktree is completely isolated Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
# Commands
|
||||
|
||||
## Installation
|
||||
## Running (with PYTHONPATH)
|
||||
|
||||
```bash
|
||||
pip install -e .
|
||||
```
|
||||
|
||||
## Running
|
||||
For multi-instance development, use PYTHONPATH instead of pip install:
|
||||
|
||||
```bash
|
||||
# Run example
|
||||
python example.py
|
||||
PYTHONPATH=/path/to/nano-vllm:$PYTHONPATH python example.py
|
||||
|
||||
# Run benchmarks
|
||||
python bench.py # Standard benchmark
|
||||
python bench_offload.py # CPU offload benchmark
|
||||
PYTHONPATH=/path/to/nano-vllm:$PYTHONPATH python bench.py
|
||||
PYTHONPATH=/path/to/nano-vllm:$PYTHONPATH python bench_offload.py
|
||||
```
|
||||
|
||||
## Config Defaults
|
||||
|
||||
Reference in New Issue
Block a user