Skip to content

Commit 31d3eff

Browse files
authored
doc: fix invalid links related with llm api example (#6317)
Signed-off-by: nv-guomingz <[email protected]>
1 parent 5fceaa6 commit 31d3eff

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/source/torch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The PyTorch backend of TensorRT-LLM is available in version 0.17 and later. You
1313

1414
Here is a simple example to show how to use `tensorrt_llm.LLM` API with Llama model.
1515

16-
```{literalinclude} ../../examples/pytorch/quickstart.py
16+
```{literalinclude} ../../examples/llm-api/quickstart_example.py
1717
:language: python
1818
:linenos:
1919
```

examples/models/core/deepseek_v3/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ git clone https://huggingface.co/deepseek-ai/DeepSeek-V3 <YOUR_MODEL_DIR>
7777
## Quick Start
7878

7979
### Run a single inference
80-
To quickly run DeepSeek-V3, [examples/llm-api/quickstart_advanced.py](../pytorch/quickstart_advanced.py):
80+
To quickly run DeepSeek-V3, [examples/llm-api/quickstart_advanced.py](../llm-api/quickstart_advanced.py):
8181

8282
```bash
8383
cd examples/llm-api
@@ -94,7 +94,7 @@ Prompt: 'The future of AI is', Generated text: ' a topic of great interest and s
9494
```
9595

9696
### Multi-Token Prediction (MTP)
97-
To run with MTP, use [examples/llm-api/quickstart_advanced.py](../pytorch/quickstart_advanced.py) with additional options, see
97+
To run with MTP, use [examples/llm-api/quickstart_advanced.py](../../../llm-api/quickstart_advanced.py) with additional options, see
9898
```bash
9999
cd examples/llm-api
100100
python quickstart_advanced.py --model_dir <YOUR_MODEL_DIR> --spec_decode_algo MTP --spec_decode_max_draft_len N

examples/models/core/qwen/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ git clone https://huggingface.co/Qwen/Qwen3-30B-A3B <YOUR_MODEL_DIR>
624624

625625
#### Run a single inference
626626

627-
To quickly run Qwen3, [examples/llm-api/quickstart_advanced.py](../../../pytorch/quickstart_advanced.py):
627+
To quickly run Qwen3, [examples/llm-api/quickstart_advanced.py](../../../llm-api/quickstart_advanced.py):
628628

629629
```bash
630630
python3 examples/llm-api/quickstart_advanced.py --model_dir Qwen3-30B-A3B/ --kv_cache_fraction 0.6

0 commit comments

Comments
 (0)