mirror of
https://github.com/NVIDIA/dgx-spark-playbooks.git
synced 2026-06-21 05:39:31 +00:00
Compare commits
3 Commits
115d386683
...
8a2b604e06
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a2b604e06 | ||
|
|
51615570a7 | ||
|
|
ce1609e892 |
@ -101,7 +101,7 @@ Build llama.cpp with CUDA enabled and targeting the GB10's sm_121 compute archit
|
||||
|
||||
```bash
|
||||
mkdir build && cd build
|
||||
cmake .. -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="121" -DLLAMA_CURL=OFF
|
||||
cmake .. -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="121" -DLLAMA_CURL=OFF -DGGML_CUDA_FA_ALL_QUANTS=ON
|
||||
make -j8
|
||||
```
|
||||
|
||||
@ -128,6 +128,7 @@ Launch the inference server with the Nemotron model. The server provides an Open
|
||||
--model ~/models/nemotron3-gguf/Nemotron-3-Nano-30B-A3B-UD-Q8_K_XL.gguf \
|
||||
--host 0.0.0.0 \
|
||||
--port 30000 \
|
||||
--flash-attn 1 \
|
||||
--n-gpu-layers 99 \
|
||||
--ctx-size 8192 \
|
||||
--threads 8
|
||||
@ -136,6 +137,7 @@ Launch the inference server with the Nemotron model. The server provides an Open
|
||||
**Parameter explanation:**
|
||||
- `--host 0.0.0.0`: Listen on all network interfaces
|
||||
- `--port 30000`: API server port
|
||||
- `--flash-attn 1`: Enables Flash Attention
|
||||
- `--n-gpu-layers 99`: Offload all layers to GPU
|
||||
- `--ctx-size 8192`: Context window size (can increase up to 1M)
|
||||
- `--threads 8`: CPU threads for non-GPU operations
|
||||
|
||||
@ -218,7 +218,7 @@ Obtain the vLLM cluster deployment script on both nodes. This script orchestrate
|
||||
|
||||
```bash
|
||||
## Download on both nodes
|
||||
wget https://raw.githubusercontent.com/vllm-project/vllm/refs/heads/main/examples/online_serving/run_cluster.sh
|
||||
wget https://raw.githubusercontent.com/vllm-project/vllm/refs/heads/main/examples/ray_serving/run_cluster.sh
|
||||
chmod +x run_cluster.sh
|
||||
```
|
||||
|
||||
@ -445,7 +445,7 @@ Download the vLLM cluster deployment script on all nodes. This script orchestrat
|
||||
|
||||
```bash
|
||||
## Download on all nodes
|
||||
wget https://raw.githubusercontent.com/vllm-project/vllm/refs/heads/main/examples/online_serving/run_cluster.sh
|
||||
wget https://raw.githubusercontent.com/vllm-project/vllm/refs/heads/main/examples/ray_serving/run_cluster.sh
|
||||
chmod +x run_cluster.sh
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user