Skip to content

Commit f4e11b0

Browse files
committed
fix doc
1 parent ff7464a commit f4e11b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/source_en/Usage Guide/NPU-Support.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ git clone https://github.com/NVIDIA/Megatron-LM.git -b core_r0.12.0
9999
Before running Megatron training scripts, you need to add both Twinkle source code and Megatron-LM source code to `PYTHONPATH`:
100100

101101
```bash
102-
export TWINKLE_SRC_PATH=/path/to/twinkle/src
103102
export MEGATRON_LM_PATH=/path/to/Megatron-LM
104-
export PYTHONPATH=${TWINKLE_SRC_PATH}:${MEGATRON_LM_PATH}:${PYTHONPATH}
103+
export PYTHONPATH=${MEGATRON_LM_PATH}:${PYTHONPATH}
105104
```
106105

107106
> **Tip**: `cookbook/megatron/tp.sh` and `cookbook/megatron/tp_moe.sh` already include automatic PYTHONPATH configuration. You can use these scripts directly to launch training without manual setup. Default paths can be overridden via the `TWINKLE_SRC_PATH` and `MEGATRON_LM_PATH` environment variables.

0 commit comments

Comments
 (0)