"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "d9b8adc4cac287a10d0641533bf6741cd9e5c80a"
Unverified Commit fde83405 authored by Yineng Zhang's avatar Yineng Zhang Committed by GitHub
Browse files

docs: update README (#935)

parent fd7926e4
......@@ -151,9 +151,9 @@ python -m sglang.launch_server --model-path meta-llama/Meta-Llama-3-8B-Instruct
```
python -m sglang.launch_server --model-path meta-llama/Meta-Llama-3-8B-Instruct --port 30000 --mem-fraction-static 0.7
```
- If you see out-of-memory errors during prefill for long prompts, try to enable chunked prefill.
- If you see out-of-memory errors during prefill for long prompts on a model that supports long context, consider using chunked prefill.
```
python -m sglang.launch_server --model-path meta-llama/Meta-Llama-3-8B-Instruct --port 30000 --chunked-prefill-size 8192
python -m sglang.launch_server --model-path meta-llama/Meta-Llama-3.1-8B-Instruct --port 30000 --chunked-prefill-size 8192
```
- See [hyperparameter_tuning.md](docs/en/hyperparameter_tuning.md) on tuning hyperparameters for better performance.
- Add `--nnodes 2` to run tensor parallelism on multiple nodes. If you have two nodes with two GPUs on each node and want to run TP=4, let `sgl-dev-0` be the hostname of the first node and `50000` be an available port.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment