| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 |
Tests Usage
-
Install
mindspeedpip install -e . -
Copy the entire
tests_extendto the root path ofMegatron-LMcp -r tests_extend {PATH_TO_MEGATRON_LM} -
Run a single test by pytest command line under
Megatron-LMroot pathcd {PATH_TO_MEGATRON_LM} pytest tests_extend/unit_tests/megatron/test_distrib_optimizer.py -
Run the whole tests
cd {PATH_TO_MEGATRON_LM} pytest tests_extend