File tree Expand file tree Collapse file tree 7 files changed +6
-6
lines changed Expand file tree Collapse file tree 7 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 18
18
run : |
19
19
export CPP_ONLY=1
20
20
export TE_PATH=.
21
- bash ./qa/L0_lint /test.sh
21
+ bash ./qa/L0_pytorch_lint /test.sh
22
22
pytorch_pylint :
23
23
name : ' PyTorch Python'
24
24
runs-on : ubuntu-latest
34
34
pip install flash-attn==1.0.2
35
35
export PYTHON_ONLY=1
36
36
export TE_PATH=.
37
- bash ./qa/L0_lint /test.sh
37
+ bash ./qa/L0_pytorch_lint /test.sh
38
38
jax_cpplint :
39
39
name : ' JAX C++'
40
40
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Coding Guidelines
20
20
21
21
.. code-block :: bash
22
22
23
- TE_PATH=< path to TE source> bash qa/L0_lint /test.sh
23
+ TE_PATH=< path to TE source> bash qa/L0_ < framework > _lint /test.sh
24
24
25
25
* Avoid introducing unnecessary complexity into existing code so that maintainability and
26
26
readability are preserved.
@@ -41,7 +41,7 @@ Coding Guidelines
41
41
42
42
- In the :bash: `qa/ ` directory, there are basic sanity tests scripted in directories named
43
43
`L0_... `. A given test can be executed by running the :bash: `./test.sh ` command in each test
44
- directory. The :bash: `test.sh ` script assume that the TE source can be found under
44
+ directory. The :bash: `test.sh ` script assumes that the TE source can be found under
45
45
:bash: `/opt/transformerengine `. This assumption can be changed by setting :bash: `TE_PATH `
46
46
environment variable to the directory containing TE source.
47
47
- One of the tests, `L0_license ` tests for valid NVIDIA copyright and license text. If you create
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 9
9
pip install cpplint==1.6.0 pylint==2.13.5
10
10
if [ -z " ${PYTHON_ONLY} " ]
11
11
then
12
- cp $TE_PATH /qa/L0_lint /CPPLINT.cfg $TE_PATH
12
+ cp $TE_PATH /qa/L0_pytorch_lint /CPPLINT.cfg $TE_PATH
13
13
cd $TE_PATH
14
14
echo " Checking common API headers"
15
15
cpplint --root transformer_engine/common/include --recursive transformer_engine/common/include
19
19
fi
20
20
if [ -z " ${CPP_ONLY} " ]
21
21
then
22
- cp $TE_PATH /qa/L0_lint /pylintrc $TE_PATH
22
+ cp $TE_PATH /qa/L0_pytorch_lint /pylintrc $TE_PATH
23
23
cd $TE_PATH
24
24
echo " Checking Python files"
25
25
pylint --recursive=y transformer_engine/common transformer_engine/pytorch
File renamed without changes.
You can’t perform that action at this time.
0 commit comments