"csrc/quantization/awq/dequantize.cuh" did not exist on "b9fe4616f98b77b4b9458bce203aa6544cb31ef2"
test.sh 801 Bytes
Newer Older
1
# Copyright (c) 2022-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
3
4
5
6
7
8
#
# See LICENSE for license information.

set -e

: "${TE_PATH:=/opt/transformerengine}"

9
pip3 install cpplint==1.6.0 pylint==3.3.1
10
11
12
13
if [ -z "${PYTHON_ONLY}" ]
then
  cd $TE_PATH
  echo "Checking common API headers"
14
  python3 -m cpplint --root transformer_engine/common/include --recursive transformer_engine/common/include
15
  echo "Checking C++ files"
16
17
  python3 -m cpplint --recursive --exclude=transformer_engine/common/include --exclude=transformer_engine/build_tools/build transformer_engine/common
  python3 -m cpplint --recursive transformer_engine/jax
18
19
20
21
22
fi
if [ -z "${CPP_ONLY}" ]
then
  cd $TE_PATH
  echo "Checking Python files"
23
  python3 -m pylint --recursive=y transformer_engine/common transformer_engine/jax
24
fi